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.
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.
Effective Java Programming Language Guide: Think in terms of exported APIs because it tends to improve the quality of the software you write
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 ]