Java – Building a GUI in Java

javauser-interface

What mechanism do you prefer for building a GUI: from scratch or using GUI-building software?

Best Solution

If the question is about GUI development using Swing then IMO it is best to code everything manually without a WYSIWIG tool.

In order for a manual UI design/coding to be efficient a really good layout manager should be used. MigLayout is one of such layout managers. Since I've started using it I have never looked back at WYSIWIG tools -- a sheet of paper, a pencil, MigLayout and you get a full control over your design and code.

Also tools like Balsamiq simplify making GUI mock ups for quick prototyping if the paper and pencil approach is not suitable.