Question

Hello all you helpful folks @ stackoverflow!

Best resources for Java GUI's?

Looking at the Java Documentation, it is pretty easy to figure out the basics of JButtons, JFrames, etc but grasping the concepts of accessing JComponents from a frame, what creating a different panel does, etc is not very easy to understand.

Is there some tutorial that teaches the basics about Java GUI like swing and real-life examples?

Book suggestions are always welcome.

Was it helpful?

Solution

Hmm... Have you seen the The Swing tutorial?

OTHER TIPS

Once you've finished the Swing Tutorial, you should have a look at Java Swing. It's a fairly comprehensive book.

java2s.com has good coverage of the Swing library, including sample code for common tasks.

For the technical stuff the Swing tutorials and after that the Javadoc API documentation are enough for most people.

Getting a understanding on how to make a user interface that make sense the Java Look and Feel Design Guidelines will be helpful.

Best tip I can give you is to get input from other people on your user interface. When you build and test an interface yourself your perception on what constitutes a logic and easy user experiences gets warped.

I use SWT/JFace instead of Swing (for the native look and feel, primarily.)

SWT/JFace In Action has been the best resource I've found.

Additionally, the SWT Widgets reference provided by the SWT project.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top