Eclipse or Netbeans for Swing?

My next university project will be Java based. We would have to develop this with Swing, and I was wondering what is the general preference for this?

A quick look at the Netbeans website, and I could see the powerful Swing editor or what it looked like alone; since I never used it, I do not know. As for Eclipse, I'm sure there are plugins for Swing, but are they good? How do they compare with Netbeans?

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

+7
java eclipse swing netbeans
source share
6 answers

I recommend you use Netbeans -

+9
source share

I found my solution, which, in my opinion, is the best: I use both! It is easy. Jealousy: I really appreciate the Netbeans interface editor, but I really prefer Eclipse to work on the code. How it works: use Eclipse and Netbeans at the same time (you need enough bar). In Netbeans, I use the interface editor and code never . Your application will have a package for the interface and other packages for loigic so that you separate the two parts. In Eclipse import: swing-worker-1.1.jar and appframework-1.0.3.jar (you can find in Netbeans directories). Then you use the syncronization program (I use Beyond Compare) to import the interface package from Netbeans into the folder of your Eclipse project (use F5 for notification in Eclipse) and make it synchronize. In Eclispe, you will only populate interface code handlers (written by Netbeans), adding a small piece of code that does nothing but call the logical part of the application in the Eclipse package. This method is not as complicated as it seems, and gives you the best of both worlds .

+5
source share

If you really want to learn Swing, and especially layouts, then don't use the GUI Builders. BorderLayout, BoxLayout and enough time, you will build almost any GUI that you want. In this case, it does not matter if you are using NetBeans or Eclipse. I personally don't like Eclipse because of how they do autocomplete. But it is up to you. In addition, professors would like to ask you to write the code manually in the exam so that you better know how to do it.

+2
source share

There are many such questions. You can look around.

Creating a GUI in Java

Best way to create a Java Swing GUI?

Related: Handcode GUI or gui-designer tool

+1
source share

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

If you really want to create a GUI constructor, go to NetBeans. The Eclipse VE project was very good, but kind of dead. There is also visualswing4eclipse , but it (IMHO) is not even in a stable state. Personally, I have encountered many difficulties in building even a complex user interface. He sometimes overwrites his own code. He also uses his own implementation of GroupLayout, not the JDK.
(I am a hardcore fan of eclipse, but the Eclipse GUI editors are free (I have not tried any proprietary ones) very disappointing.

0
source share

I recommend the NetBeans IDE, and it’s better because it supports widely and other Java-related open-source technologies and other tool plugins available for Netbeans.

0
source share

All Articles