Till now, I had been using Netbeans Swing GUI generation feature to build GUI for my java applications.
Now I have started using Eclipse for my projects and have dropped Netbeans. So apart from coding manually all the code for GUI, what are the other ways with which I can build GUI quickly and in a much better way.
It is platform independent unlike AWT and has lightweight components. It becomes easier to build applications since we already have GUI components like button, checkbox etc. This is helpful because we do not have to start from the scratch.
Swing is the standard toolkit for Java developer in creating GUI, whereas JavaFX provides platform support for creating desktop applications. Swing has a more sophisticated set of GUI components, whereas JavaFX has a decent number of UI components available but lesser than what Swing provides.
I have been using Visual Editor and Windows Builder plugin for eclipse IDE since last 2 years. I found Windows Builder works perfect! It provides very clean and highly readable code for you. So i prefer to use Windows Builder, so that you can do everything what ever you found in Microsofts Visual Studio features "drag and drop and all".
You can keep coding it manually but using GroovyBuilders (link) that are enough faster than using plain java but you will need to embed Groovy lib inside your application..
otherwise there exists a layout manager, called MIG Layout, that works quite well (it's much more practical that normal gui building)..
I also used a tool called JVider to build some simple applications, but using a visual approach you get always the same nasty thing: keeping interface and backend synchronized, considering also the "bindings" between visual objects and variables name..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With