Java GUI programming for a Java newbie?

I’m looking into writing a small Java program with a GUI. I have a lot of experience in database/statistical programming and I have also used VB. I am new to Java.

What are the best options for me? I know there are some options with Eclipse . I prefer open source/free options but I can also buy a good package.

Here’s a question I can answer. I’m developing an Eclipse-based GUI using SWT/JFace. SWT/JFace uses resources from the operating system (checkboxes, labels, images, etc.), so the GUI executes quickly and looks like a native application. The problem is that the GUI operates differently on different operating systems.

Most Java GUIs are coded with Swing, which comes with the Java Development Kit. A Swing GUI controls every pixel in the window regardless of the operating system. This adheres to Java’s “write once, run anywhere” credo, but from what I’ve seen, Swing can be very slow when displaying large amounts of data.

So there are the trade-offs between SWT/JFace and Swing. Both are free, but to get SWT/JFace, you need to download Eclipse.

Best of luck!

I’m even more of a beginner: where do I go to get the Java Development Kit? And does it come with a tutorial for the raw beginner?

(I’ve done some programming in Visual Basic Express, so I have the barest comprehension of objects and event codes…but not a lot.)

You can download the JDK here. The different offerings can be confusing, but remember two points. SE means Standard Edition which means regular desktop Java. EE means Enterprise Edition which means Java running on a server and interfacing databases.

If you’re just getting started, the official Java tutorials are here. You may also be interested in Bruce Eckel’s online book Thinking in Java.

As far as IDEs go, the main options are IDEA, Netbeans, and Eclipse. I’ve had good experiences with Eclipse so far, but I’ll confess that it’s the only Java IDE I’ve had significant experience with.

Thank you! I’ll be exploring this new universe…um…slowly, and doubtless a bit ineptly. Wish me luck! And luck, too, to Bijou Drains (a wonderfully quixotic user name!)

I guess Java is not popular among people here.

I’ve been a Java developer for a pretty large chunk of my life now, but I haven’t done thick client Java GUI work for a long, long time. Everything I do now is a web app: Java on the server, JQuery and/or JavaScript on the browser. That’s the way I’d recommend going. If you’re set on making simple GUI programs though, Swing should be fine for you. I believe Eclipse has a GUI designer tool, or at least a plugin, which would look something like Visual Studio, but not as slick.

That’s probably true. This is a general interest board, so the majority of people aren’t software developers at all. I’m also a member at javaranch.com, which specializes in helping Java newbies. You might give them a try.

thanks, javaranch looks like a very good site, I registered there.