WHAT are people moving to or are considering moving to?

Again, not to drone on, but 4D was really the successor HyperCard; and LiveCode is the grandchild of HyperCard on steroids :wink:

1 Like

I’ve looked at LiveCode off and on over the years, and this comment prompted me to download it again. Interestingly, it turns out I have an active Indy license. Apparently I bought an Indy license for $10 last November when—as I now vaguely remember—they were running a Covid-related promotion for people who wanted to try it out.

4D wasnt really like Hypercard IMHO
More Filemaker like from my usage
But its been around a very long time(written in 1984)

FYI Aaron Ballman worked for them for a time after departing REAL

1 Like

would you be writing a ebook about java any time soon?? especially how to things in XOJO and JAVA??

It’s interesting that you mention this. I have started an ebook on this topic and have some things to explore. Probably not near future, and yes, in the future. :slight_smile:

1 Like

I am learn java with visual studio code since I am just trying out code to one thing instead of working on a project. I think IntelliJ Idea does not do very well without a PROJECT or at least I can’t get my sample codes I create in VSCode to run on IntelliJ Idea.

VSCode and IntelliJ do take a very different approach to things

VSCode is ok running one “file”
IntelliJ prefers things organized differently

so once I am working on real project, I should use intellij.
I think I probably start pretty soon

@stam I’ve used LiveCode for many years. LiveCode, always pretty solid on desktop were early to market for iOS and Android and web. At the time they were starting with Web (Revlets), I had an urgent need for a particular web project and found Xojo Web 1.0. So I used LiveCode for desktop, mobile and Xojo Web 1.0 for Web. I haven’t really fully tested LiveCode HTML5 as it developed later but will in time. Programming in LiveCode feels very natural.

Kind regards, Andrew

I find LiveCode intriguing. How har has it been for you that use it to get used to the language, it feels a bit weird looking at it

It is weird until it suddenly falls into place. Sadly many of the programming paradigms that are common to many other languages don’t translate well at all into LiveCode, which has its own charming way of doing things. Best way of thinking about it is trying to learn a spoken language that has evolved organically.

LC has created a vast amount of educational material but understandably not all of it is now up to date.

The forum is a true, vast source of gems and the attitude is that of politeness - it is a major source of help when starting out but also for experienced users.

As mentioned my needs probably don’t reflect much of what people may use XOJO for, and for sure XOJO binaries perform faster than LiveCode binaries, but in most cases that’s irrelevant as it’s not possible for the user to discern the difference, and for me it does everything I need it to do without having to suffer the frustration that XOJO used to cause me and I’m much more productive.

Of course nothing is perfect and LC has its own issues, and more importantly LC isn’t for everything, but does a good job approximating this.
That’s my mileage anyway, others’ may vary…

You’re right - must have been having a “senior” moment. I was thinking of SuperCard when I wrote 4D, not sure what I was thinking!

IntelliJ IDEA is very good at testing Java code: just create a Scratch file (or multiple ones).

What I will NEVER understand: programming Java with Visual Studio Code. There are no Cost IDE en mass: IntelliJIdea community Edition, Netbeans and Eclipse. All full blown. But people are using instead Netbeans or IntelliJ? Visual Studio Code. Which has nothing what is really needed and interesting for a JAVA IDE. It is not made for Java. It is made for Microsofts phantasy to fulfill the LOOK WE CAN RUN ANYWHERE. Yes. Java can. MS not. That’s the way they do it. and people are running and telling me oh it is so nice vscode for Java and for PHP. Sorry that I don’t want to understand how that can be a good idea at all.

And yes: Make a project in IntelliJ and build all the stuffs you want to get running. in Public static void Main you can start what you are working on. Build your stuffs in different classes and it works.

I create a new Java project with main and copy all my existing sample java file into the src folder and put the following code

package com.mediatec;

public class Main {

    public static void main(String[] args) {

        new jList001();
    }
}

if I comment out the new jList001(); and run any of the sample java file and it work. when I try to run or debug the main.java where the above code is, I got the following error

java: cannot find symbol
symbol: class jList001
location: class com.mediatec.Main

First of all you are not creating a JList. It should be JList jlist001; while you declare a variable not with new. While you have no variable JLIST001 in your Code you can not instance a new object from it. Before you would have to declare like I wrote and after it you could do an instancing:

package com.company;

import javax.swing.*;

public class Main {

public static void main(String[] args) {

    JList jlist001;
    jlist001 = new JList();

}

}

In this Form you would have an Object jlist001 which is a new Object instance.

sorry my code is for the main.java… I want to call one of the sample java file.
jList001 is one of those file.

inside the code for jList001.java has the following code

import javax.swing.*;  

public class jList001  
{  
    jList001(){  
        JFrame f= new JFrame();  
        DefaultListModel<String> l1 = new DefaultListModel<>();  
          l1.addElement("Item1");  
          l1.addElement("Item2");  
          l1.addElement("Item3");  
          l1.addElement("Item4");  
          JList<String> list = new JList<>(l1);  
          list.setBounds(100,100, 75,75);  
          f.add(list);  
          f.setSize(400,400);  
          f.setLayout(null);  
          f.setVisible(true);  
     }  
public static void main(String args[])  
    {
        new jList001();
    }
}  

Again: the error is the same. You try to use an object you are never declaring.

jList001 namenfitem = new jList001();

that would end up in the item and your code would run

For this I made a Project where I tried out and it works.

If ever you want to use non static content it is so that you HAVE to promote an object where it is inside and to put it inside. That exactly is the major point of object orientation. When you try to use an undeclared object he can not find it. When ever you declare it but not generate the inheritance object it will not find it. If you declare it jList001 nameoftheitem and instantiating it with inheritance with = new jList001 you will have the following situation:

with declaration you have the inheritance of all parameters of the declaration of the element itself. With instantiating you fill your declaration with the instance of the object itself