wood burning stoves*
The moose likes Swing / AWT / SWT and the fly likes Good book for Swings? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Good book for Swings?" Watch "Good book for Swings?" New topic

Good book for Swings?

Murali Jaya Rao
Ranch Hand

Joined: Jun 10, 2007
Posts: 43
hi everyone,

can anyone please help me regarding which is the best swings book to buy?i am totally new to swings concept.
Thanks & Regards,Murali
Justin Fox
Ranch Hand

Joined: Jan 24, 2006
Posts: 802
Java Solutions:

its by Lewis&Loftus.

Each chapter has a GUI/Swing part to it. It's definately good for beginners.

Justin Fox

You down with OOP? Yeah you know me!
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

You'll have an easier time finding one if you spell it correctly.
See this for more information.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Tarek Khojah
Ranch Hand

Joined: Jul 21, 2007
Posts: 58
I found Swing: A Beginner's Guide to be a great book that will get you started right away.

That being said, even though it is about 500 pages long, it doesn't cover as much material as you'd think.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299

In all honesty I haven't read a Swing book that deals with any more than Sun's own Swing tutorial. There are no books that show you how to do things the "right" way. They just show how to use the standard component set and layout managers. And hardly anyone uses the build in layout managers anymore anyway.

Skip the Netbeans part: http://java.sun.com/docs/books/tutorial/uiswing/TOC.html

There are however a couple of decent books once you get the basics down. Both assume a basic knowledge of Swing.


The first is more up to date.
[ January 27, 2008: Message edited by: Gregg Bolinger ]

GenRocket - Experts at Building Test Data
Murali Jaya Rao
Ranch Hand

Joined: Jun 10, 2007
Posts: 43
Thanks for all who gave me a valuable suggestions
Jonny Andersson
Ranch Hand

Joined: Sep 07, 2004
Posts: 87

In all honesty I haven't read a Swing book that deals with any more than Sun's own Swing tutorial.

And they don�t discuss the architecture of the overall application like for example how to separate the GUI from the application logic in a good way so that it become a flexible application that is easy to maintain and extend. I wish there were a book about that and preferably a book that NOT is for beginners when it discuss the topic.

Truly agile Java application developer with Extreme Programming and high quality craftsmanship
Brian Cole
Ranch Hand

Joined: Sep 20, 2005
Posts: 862
Originally posted by Gregg Bolinger:
In all honesty I haven't read a Swing book that deals with any more than Sun's own Swing tutorial.

Sun's tutorial is pretty good, but (the matter of which books you have and haven't read aside) I would have to disagree that there aren't books that go in to more depth.

For instance, I think my my book goes into a lot more depth. At 1200 pages, it darn well should. It's not for beginners, though, which is why I didn't mention it earlier. For example, it doesn't try to explain the AWT layout managers, which is something beginners pretty much need to learn.

Even though it's not for beginners, it doesn't address Mr. Andersson's lament either. Separation of GUI from business logic isn't really a Swing topic, in that most of what you can say about it will apply as well to other GUI libraries (such as SWT) as it does to Swing. I guess Swing is popular enough that there could be room for a Swing-specific book on the topic, but I think I would probably look for a more general book on GUI software design.
[ February 01, 2008: Message edited by: Brian Cole ]

bitguru blog
It is sorta covered in the JavaRanch Style Guide.
subject: Good book for Swings?