development environment for Java gui development on a mac

mveltman@uoguelph.ca's picture

Hello all,

The only gui development I've done is coding Java Swing using TEXT FILES (yipes!) and that was almost six years ago. I'm afraid of Eclipse, and I normally code using a text editor, makefiles and a terminal.

Anyway, I need to do a gui for a Java app, and I am seeking advice on what development environment I should use. I would not be adverse to doing something web enabled as I would like to develop these skills, but I'm open to any and all suggestions.

I also have a Windows XP machine and a kubuntu machine that I could use for this task.

Thank you

doshea@uoguelph.ca's picture

NetBeans is pwnsauce for

NetBeans is pwnsauce for Java GUI and I'm pretty sure it works on any platform.
http://www.netbeans.org/features/index.html

---------------
darren

aberry@uoguelph.ca's picture

OT: Can an admin add the

OT: Can an admin add the blockquote tag to the HTML filter?

I'm afraid of Eclipse, and I normally code using a text editor, makefiles and a terminal.

Eclipse has significantly improved in the last few years, so it's not nearly as slow as it used to be. Though the UI has a steep curve, it's about the same as any other full-featured java IDE I've used. If you're going to be doing a lot of Java coding, it's worth learning since most of the concepts transfer to other IDE's.

Anyway, I need to do a gui for a Java app, and I am seeking advice on what development environment I should use. I would not be adverse to doing something web enabled as I would like to develop these skills, but I'm open to any and all suggestions.

I'm confused by what you mean here. Are you thinking of doing a Java backend with a front end through a browser, using something like Tomcat or Jetty? While useful in the real world, it's a pretty heavy solution. For a desktop app, don't forget about SWT, or Eclipse's SDK itself (Eclipse is both an IDE and a framework for Java apps).

If you haven't done any work yet, and want to do a web app, take a look at one of the Python, Ruby, or PHP frameworks. There is way less to get in the way of doing your app, and far less overhead. Rails, Symphony, or Drupal may be a better fit depending on what you're trying to code.

--
Andrew

tredman@uoguelph.ca's picture

Don't have much input here

Don't have much input here except that I'd consider learning Eclipse. It makes life easy...

Plus most example on the web run through Eclipse with step-by-steps :)
___________
Tom Redman

The trouble with computers is that they do what you tell them, not what you want.

OT: Can an admin add the

OT: Can an admin add the blockquote tag to the HTML filter?

Done and done.

--
Martin Lindsay
SOCIS System Administrator

mveltman@uoguelph.ca's picture

Thanks for all of the

Thanks for all of the suggestions ... I will try Eclipse first :|

Melanie Veltman
MSc. Candidate
CISters President
***********************
Idealism increases in direct proportion to one’s distance from the problem.

--- John Galsworthy (1867-1933)

Second: Netbeans

While I do prefer Eclipse, I've used Netbeans for GUI building numerous times. The suddenly revived Sudoku form from way back when is one such example. It's a pretty brainless way to put together a decent looking GUI, but be warned, if you expect to look at the code after... it's ugly.

Rand486

mveltman@uoguelph.ca's picture

feeling like a newbie ...

Yay I was able to create a project in Eclipse and import some files. Should I have to install a plug-in in order to be able to build a gui drag and drop style? I have created a new interface, but all I see is a few lines of text in an editor frame. I would like to be able to work with the visual components of the interface.

Thanks :)

Melanie Veltman
MSc. Candidate
CISters President
***********************
Idealism increases in direct proportion to one’s distance from the problem.

--- John Galsworthy (1867-1933)

aberry@uoguelph.ca's picture

In my experience, GUI

In my experience, GUI builders for java are *really* bad. They tend to generate really poor code (as eluded to above about Netbeans). There are two ways I'd go about this:

  1. Choose a toolkit with a proven base, such as SWT. SWT is used in so many projects that it will be very easy to find good documentation. You may not end up using a GUI builder, but it shouldn't be much more difficult.
  2. Find the equivalent of Interface Builder for Java. IB is how all GUI builders should work. The GUI is completely separate from the code, and everything is properly structured with MVC. You never ever have to worry about your GUI messing with your app logic. Instead of generating code, it serializes actual objects to disk, which makes things way less painful.

--
Andrew

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.