This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Eclipse vs NetBeans for Swing Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Eclipse vs NetBeans for Swing Application " Watch "Eclipse vs NetBeans for Swing Application " New topic
Author

Eclipse vs NetBeans for Swing Application

Vinod Vin
Greenhorn

Joined: Jul 19, 2012
Posts: 4
Hi,

We are going to start a new project which uses Java Swing GUIs, I dont have much idea about Swing.
I have created one simple GUI using NetBeans Drag and Drop options.I found it impressive.

I need some help to understand comparison between Eclipse and NetBeans for Swing Application

Also information on below
1. Does NetBeans IDE adds any extra NetBeans specific code in the designed GUI ?
2. Does NetBeans uses any extra library to design GUI ?
3. Are there any lmitations ?

Thanks in Advance !


Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38039
    
  22
Welcome to the Ranch

NetBeans uses GroupLayout for Swing code, and restores the code automatically to the configuration you had in the GUI builder. I don’t think Eclipse does that, but am not certain.
Mvelo Walaza
Greenhorn

Joined: Sep 22, 2009
Posts: 7
Netbeans is way better than Eclipse (my opinion) for Swing. You should also consider JDeveloper..
Danny Wreczycki
Greenhorn

Joined: Sep 23, 2012
Posts: 23
    
    1
Eclipse together with WindowBuilder from Google in my opinion is way better then Netbeans nowadays. WindowBuilder for me is more intuitive and its can read Netbeans forms aswell, its also not locking ui so you can tweak code generated by WindowBuilder manually, in netbeans as far I remeber its not possible.
K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 2242
    
    7

Well in general, you shouldn't rely on Eclipse or Netbeans to generate the UI code for you. If you are using Swing, why not learn the API, ActionListeners, Events etc. This way, it will make your code much cleaner.


K. Tsang JavaRanch SCJP5 SCJD/OCM-JD OCPJP7 OCPWCD5
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

I agree with K. Tsang. Visual designers can be useful for quickly creating a mock-up of a layout for review, but unless you're planning a full time high-productivity career in Swing UI design, it's simply not worth the trouble of learning how to do everything you need to do to end up with a fully functional, maintainable UI. And why should you plan to become a Swing UI designer when JavaFX has already started to take over the market?


luck, db
There are no new questions, but there may be new answers.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38039
    
  22
Danny Wreczycki (I hope I am not too late), welcome to the Ranch
Vinod Vin
Greenhorn

Joined: Jul 19, 2012
Posts: 4
Thank you all for your suggestions.

Actually We are in hurry and we have to develope these screens asap.
Also I was looking out for WindowBuilder I found it is in Beta version so if any more information will be a great help on WindowBuilder.
I was trying to download WindowBuilder plugin if possible please share the link for the same.

I am also trying to find out if there is any support Swing GUI drag drop with IBM RAD ?

Thanks in advance!
Danny Wreczycki
Greenhorn

Joined: Sep 23, 2012
Posts: 23
    
    1
Vinod Vin wrote:Thank you all for your suggestions.

Actually We are in hurry and we have to develope these screens asap.
Also I was looking out for WindowBuilder I found it is in Beta version so if any more information will be a great help on WindowBuilder.
I was trying to download WindowBuilder plugin if possible please share the link for the same.

I am also trying to find out if there is any support Swing GUI drag drop with IBM RAD ?

Thanks in advance!


Just download Eclipse for the Java developers, WindowBuilder is intergrated there out of the box. Even if its beta, on Windows and Mac its working just great, on Linux you may have experiance some graphics issue with window's flickering or strange black artifacts while refreshing form.

@Campbell Ritchie
Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Eclipse vs NetBeans for Swing Application
 
Similar Threads
GUI builders in Real life !
Is Netbeans more complicant than eclipse?
OOP properganda
The best IDE
netbeans vs eclipse