Sunday, March 6, 2011

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.

From stackoverflow
  • Hmm... Have you seen the The Swing tutorial?

    Devoted : 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.
    maxnk : 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
  • 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.

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

    Devoted : yay for o'reilly stuff!
  • 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.

0 comments:

Post a Comment