The Java™ Tutorial Fourth Edition: A Short Course on the Basics
by Sharon Zakhour; Scott Hommel; Jacob Royal; Isaac Rabinovitch; Tom Risser; Mark Hoeber
Swing Hacks
by Joshua Marinacci; Chris Adamson
Java Swing, 2nd Edition
by Marc Loy; Robert Eckstein; Dave Wood; James Elliott; Brian Cole
Graphic Java™ 2, Volume II: Swing, Third Edition
by David M. Geary
Head First Java, 2nd Edition
by Kathy Sierra; Bert Bates
Head First Design Patterns
by Eric Freeman; Elisabeth Robson; Kathy Sierra; Bert Bates
Effective Java™, Second Edition
by Joshua Bloch
Java Concurrency in Practice
by Brian Goetz; Tim Peierls; Joshua Bloch; Joseph Bowbeer; David Holmes; Doug Lea
Java Web Services: Up and Running, 1st Edition
by Martin Kalin
The JFC Swing Tutorial is back, fully revised and updated to include the latest revisions to the JFC Swing API and the Java™ 2 platform. In this book, authors and Java experts Kathy Walrath, Mary Campione, Alison Huml, and Sharon Zakhour—working closely with the Sun Microsystems Swing team—explore the ins and outs of creating GUIs with Swing components.
This task-oriented, example-driven tutorial allows you to create user interfaces that work without change on multiple platforms, appearing and performing as well as or better than native interfaces. Leveraging the full power of the latest edition of the Java 2 platform, the authors bring the art of GUI creation to life with content new to this edition. This includes an easy-to-use tabbed reference section, new introductory chapters, and coverage of newer features such as JSpinner, JFormattedTextField, JProgressBar, mouse wheel support, the rearchitected focus subsystem, and improved support for drag and drop.
Coverage includes:
Introductory material for developers getting started with Swing, including sections on basic components such as text fields, labels, and buttons, as well as on using images
The latest advice from the Swing team about thread safety
Advanced Swing material, including changing key bindings, manipulating the focus, using data models, and adding painting code that uses the powerful Java 2D™ API
How-to discussions on using individual components and containers, including advanced components such as tables, trees, and text editors
Over 150 complete, working code examples
For the novice or experienced Java developer looking to create robust, powerful, and visually stunning GUIs, The JFC Swing Tutorial, Second Edition, is an indispensable tutorial and reference.
Average Amazon.com® Rating: ![]()
![]()
![]()
![]()
Based on 24 Ratings
I Second Thomas Duff's Review - 2004-11-04
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
The JFC Swing Tutorial Second Edition is among the very best how-to-do it programming books I've read---and I've read scores! For this reason, I felt compelled to write a review of the book, admiring its organization, applauding its authors and encouraging progammers who need to to write Java GUIs to hurry up and by it. But then I read Thomas Duff's review; I became redundant. My recommendation is to read Mr. Duff's excellent review---knowing that I agree with every word of it.
great potential but poor delivery - 2004-09-01
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
This book has a great potential to be instructive, however, i give it a one star because it fails miserably in the delivery. The book has one full example in chapter 2 then after that all the examples are from the CD and the information about a particular issue such as comboboxes for example is strewn with code snippets that only address the most basic information; but when one looks at the full example from the CD, it contains much more in depth code that goes beyond the scope of the particular lesson. This left me with a confused situation. On one hand i have a very basic example that only shows the bare minimum of how to use a component and on the other i have code that introduces methods that are not very pertinent to the example and require more explanation. If it is pertinent then it should be explained fully which is not.
The book has great potential. For me, i would rather see the full examples at the end of each chapter or at the end of each lesson where the code snippets reside. This would be more helpful to me as i could study the full code without having to go to the CD or its copy in my drive and navigate through the way nested tree to get to each example. Thus one star.
More of a reference than a tutorial - 2007-10-24
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
3.5 stars
Having used the book a number of times I find it an excellent first reference for doing most relatively simple to intermediate things with swing. It has excellent organization and index so finding what you need is quite easier and fast. There are many code samples- snippets, not full listings- showing how are use the major and most heavily used features of most components. It is also written in an approachable and helpful manner. It disavows exhaustive coverage of every single feature ( Try Swing by Robinson and Vorobiev- ISBN 193011088X for that)
This book is not a tutorial on java. There is no overview of the language. There is a disc with code listing. The style is generally of a bunch of small, self contained lessons on how to use a component- hence the usefulness as a first reference (at the cost of cohesiveness and an overriding arch). Where it falls down is when you progress beyond beginner-intermediate level with swing and want major coverage of obscure features. This probably isn't a problem for most of us not needing to attain guru level swing-skill. I think a solid example on how to use the MVC pattern (Model View Controller where Swing addresses the View) would have been a nice (and appreciated!) addition. From personal experience there is a tendency to put too much Model in the View rather than separate them out so changes/updating through versions is simpler. Learning this lesson is a must for anybody working with GUI's.
At times too there is the annoyance of not including things you would consider necessary, for example an explicit example of a combo box model and so forth. This devalues the work to some extent. A brief reminder of annoymous inner classes (as event handlers of choice) should also be included as too perhaps some mention of threads and thread safety. Thus the book requires a certain level and certain approach. Just remember it isn't a step-by-step, "let's build an application" tutorial through Swing.
So overall: a good book to start with and keep handy as more of a easy reference than a tutorial (I like paper references rather than online ones so I maybe baised in this respect). It's light on some areas, particuarly higher level and greater depth stuff. It starts at a reasonable level if you have some experience with Java (a typical book like Core Java by Horstmann covers easily up to and enough Swing to get you to the point where this book is a reference rather than a how-to). As a how-to for a novice I think it may be beyond many of them. Swing: A Beginner's Guide by Herbert Schildt may be better in this regard. If you don't mind the short, sharp discrete (disjointed) approach to concepts than you might not mind this. Otherwise it may be frustrating.
Not a good Swing guide - 2009-03-30
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
I am extremely disappointed with this book. I thought that since this text was written by some of people responsible for the development of the java language that it would be very reliable. This is not so. There are some simple code errors - I found one in the second example in the text in their description of the GridLayout command. These kinds of errors will cause your code to not compile, and for a new learner makes learning difficult.
Further the code examples are usually incomplete and you will find yourself constantly going back and forth through the text in order to write a complete application. I mean that's good for a Dungeon and Dragon's book but not for an instructive text.
In closing, I will just say that this book is not a good investment for persons trying to become proficient in the art of swing programming.
Awesome book!! - 2007-07-03
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
I've looked at many HORRIBLE Swing books, This one is great and recommended for anyone that is interested in doing anything practical with Swing or Java GUI's other than making a colored triangle in an applet window. I cant stress enough.. BUY THIS BOOK! i'm surprised this didn't have at least a 4 and 1/2 stars.
A compliment that I use to work with this book is the Core Java Fundamentals vol.1.
Some information on this page was provided using data from Amazon.com®. View at Amazon >