views:

294

answers:

5
+2  Q: 

Java GUI - General

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.

+4  A: 

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

maxnk
Oh - I actually haven't, that looks good.Any other resources? I find that "third-party" tutorials by independent developers make really good tutorials maybe because they are more practice?definitely good to read from the source, first though.
Devoted
I really dont know any better tutorial than this to learn Swing.In addition I suggest to read this book: http://www.amazon.com/Swing-Second-Matthew-Robinson/dp/193011088X
maxnk
A: 

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

McDowell
A: 

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.

Rene
+1  A: 

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

Bill the Lizard
yay for o'reilly stuff!
Devoted
A: 

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.

Jared