views:

233

answers:

5

Hi,

My next university project is going to be Java based. We will have to develop this with Swing and I was wondering what's the common preference for that?

A quick glimpse through Netbeans website and I could see a powerful Swing editor, or what it looks like one; since I never used it, I don't know. As for Eclipse, I'm sure there are plugins for Swing, but are they any good? How do they compare to Netbeans?

The bottom line is, should I go with Netbeans or Eclipse for a Swing based project?

A: 

Check this StackOverflow question

Enrique
+3  A: 

I recommend you to use Netbeans -

OscarRyz
+2  A: 

If you really want to learn Swing, and especially layouts, then do not use GUI Builders. BorderLayout, BoxLayout, and enough time will build you almost any GUI you want. In this case it does not matter whether you use NetBeans or Eclipse. I personally don't like Eclipse because of the way they do auto-completion. But is's up to you. Plus, professors like to ask you to write code by hand on the exam, so you'd better know how to do that.

tulskiy
There's no exam, just a project, and there's no time to do code it by hand.
Nazgulled
In this case I would recommend IntelliJ iDEA http://www.jetbrains.com/idea/free_java_ide.htmlIt is the best IDE you'll ever find.
tulskiy
A: 

If you are going to create a rather simple application, I would recommend you handcode it. Learning GridBagLayout is not difficult. And as a university student, this is the best way to go.

If you really want to go for a GUI builder, go with NetBeans. The Eclipse VE project was very good, but is kind of dead. There is also the visualswing4eclipse but it is (IMHO) not even in stable state. Personally I have faced a lot of difficulties in building even a medium complex UI. It sometimes overwrites its own code. Also it uses a own implementation of GroupLayout and not the JDK one.
(I am a hardcore eclipse fan, but eclipse GUI editors - the free ones (I have not tried any non-free ones) are very disappointing.

Nivas
I come from C# and I don't know Java/GUI builders for that platform, but the Visual Studio editor is very good and I never do anything by hand on that platform.
Nazgulled
I agree in C# you never need to do something by hand. Unfortunately the Java builders are not that advanced. netbeans does a great job, (I have not worked with IntelliJ Idea) but still there is a long way to go.It is still a commin practice to build a swing GUI by hand.
Nivas