Programming Books C Java PHP Python Learn more Browse Programming Books

Sorry, this item is not available in
Image not available for
Image not available

To view this video download Flash Player


Sign in to turn on 1-Click ordering
More Buying Choices
Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Graphic Java 2: Mastering the Jfc, By Geary, 3Rd Edition, Volume 2: Swing [Paperback]

by David Geary
4.2 out of 5 stars  See all reviews (52 customer reviews)

List Price: $69.99
Price: $59.49 & FREE Shipping. Details
You Save: $10.50 (15%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 2 left in stock (more on the way).
Ships from and sold by Gift-wrap available.
Want it Friday, April 25? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Shop the new
New! Introducing the, a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

March 22, 1999 0130796670 978-0130796677 3
Graphic Java 2 is quite simply the most comprehensive guide to the Java Foundation Classes available. Written for experienced programmers looking for thorough and detailed explanations of the JFC libraries, Volume 2 covers all aspects of the swing framework. Swing is the long-awaited successor to the AWT's heavyweight components. It provides many components that AWT developers could previously only dream about -- or purchase -- such as Tooltips, tables, trees, sliders, a complete document framework, and more. This book provides comprehensive coverage of the Swing framework, the designs behind it, and the use of Swing components. Thousands of experienced Java developers are ready to move beyond AWT's limits. This book shows them how to do so. Together with Graphic Java Volume 1 (AWT) and Volume 3 (2D API), it gives developers all the tools they need to build professional, customizable cross-platform applications that fully leverage the new Java Foundation Classes -- and to deliver those applications fast.

Frequently Bought Together

Graphic Java 2: Mastering the Jfc, By Geary, 3Rd Edition, Volume 2: Swing + Killer Game Programming in Java
Price for both: $100.90

Buy the selected items together
  • Killer Game Programming in Java $41.41

Editorial Reviews Review

If you're developing software that will be used by a large group of people, you need to give it a good-looking front-end--in Java 2, that means you have to use Swing. An excellent resource, Graphic Java 2: Mastering the JFC, Third Edition (Volume 2: Swing) takes on the Swing components one at a time and shows you how to incorporate them into attractive, efficient programs.

In many ways, Graphic Java 2 is a cookbook. You search the table of contents or index for a reference to the kind of problem you want to solve, then examine the author's examples for the solution (or at least some clues to it). This is the book to turn to if you're wondering how to implement the JComboBox.KeySelectionManager interface (which enables users to select items in a combo box) or compare the various ways of making the JTree component into a file browser. Those are just two of hundreds of examples in David Geary's book.

While most examples don't serve any practical purpose by themselves, they do clearly illustrate how a specific aspect of Swing works. It's easy to adapt the details presented here into your own programs. Geary shows consideration for the reader by presenting all his examples as programs that can be compiled and including them on the enclosed CD-ROM. --David Wall


"At over 1500 pages, Graphic Java 2 is a monolith, heavy with details and weighted with valuable information for all Java UI developers. The coverage is meticulous and fluid, instructive in countless ways, unveiling things you won't find anywhere else. Yet it remains accessible to even a novice Swing developer. The net effect is that the price tag seems trivial given the value you can get from this book...

The coverage is not just impressive in its sheer volume; it's also an easy read with clear, concise explanations and useful examples...

All the fundamentals--in eloquent prose and incredible detail--are laid out before the reader in logical chapters that build on each other to unveil the most complete picture I've seen in print. I can hardly wait to read Volume III." -- DevX Book Reviews, July 29, 1999

"Thinking about making that jump from the AWT to Swing? Not sure where to start or how to go about it? Your search stops with David Geary's Graphic Java 2: Mastering the JFC...

Part 2 covers all the Swing components and their properties in detail; each component allocated a chapter. Two of the most complex components--Table and Tree--are covered in great detail and Chapters 19 and 20, respectively. These two chapters alone are worth the price of the book for serious Swing developers...

All in all, Geary has done such a thorough job in Graphic Java 2 that it can truly be considered the Swing bible. Don't let the size of the book intimidate you, it provides a top-level view as well as microscopic details on all Swing components. It will definitely prove to be an asset in the Swing developer's arsenal." -- Dr. Dobbs Journal, September, 1999

Product Details

  • Paperback: 1622 pages
  • Publisher: Prentice Hall; 3 edition (March 22, 1999)
  • Language: English
  • ISBN-10: 0130796670
  • ISBN-13: 978-0130796677
  • Product Dimensions: 9 x 7.2 x 3.1 inches
  • Shipping Weight: 2.5 pounds (View shipping rates and policies)
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (52 customer reviews)
  • Amazon Best Sellers Rank: #1,332,638 in Books (See Top 100 in Books)

More About the Author

A long-time best-selling author with the utmost respect for his readers' time, David's books all have a single purpose: To help you master a technology as quickly and efficiently as possible. He writes books like he writes software by constantly iterating over material and refining examples until they reveal the essence of a particular technique. David also iterates obsessively over his writing until discussions are succinct and crystal clear.

David worked full-time for nearly two years on his most recent book, Core HTML5 Canvas, published in full color with syntax highlighted code throughout by Prentice-Hall in May 2012.

After graduating from Oregon State University with a degree in mechanical engineering, David spent eight years at Boeing as a software engineer, and for six of those years he taught off-hour courses in C, C++, and Object-Oriented Design.

In 1994 David moved to Colorado to work for Sun Microsystems. After working on a Smalltalk prototype for his first year, he switched to Java, and soon began working on his first book, Graphic Java, which covered Java's Abstract Window Toolkit and turned out to be one of the best-selling Java books of all time.

David left Sun in 1997 and has since made a living writing books, consulting and training, and speaking at conferences. He has written a total of nine books in the past 15 years, several of which were best-sellers in their respective categories, including the best-selling books on both Java component frameworks: Swing and JavaServer Faces.

In 2011, David co-founded the HTML5 Denver Users Group -- -- which has become one of the most popular meetup groups in Denver with over 1,000 members.

Customer Reviews

Most Helpful Customer Reviews
36 of 37 people found the following review helpful
5.0 out of 5 stars Complete Guide to Swing for Serious JAVA Developers January 5, 2000
This Book is not an introductory book, but for serious JAVA Developers who wants to know all about Swing features. It gives complete information about Swing's UI, the JComponent class, diff between lightweight and heavyweight component, Look and Feel features etc.... I would definetly recommend this book to anyone who wants to learn everything about SWING. However this book requires some knowlegde of AWT, but this is not a must. I can't wait for David Geary's book on Advanced Swing which is due in Dec 2001.
Comment | 
Was this review helpful to you?
19 of 20 people found the following review helpful
5.0 out of 5 stars Best Swing Book December 1, 1999
I have five Swing books, and this book provides by far the most thorough and well-written coverage of Swing. Although it is a huge book, there is no fluff as there is in other Swing books. The writing is clear and concise and topics are presented in a logical manner.
The first quarter of the book covers fundamental Swing concepts including meticulous coverage of the JComponent class and the best explanation of Model/View/Controller, including Swing's version of MVC, that I've seen in print.
The last three quarters of the book discusses Swing components, with excellent coverage of Swing's most complex components: JTree and JTable.
Not only does this book show you how to use Swing components, it also gives you an understanding of how Swing is designed. If you're serious about using Swing, this is the book to get.
Comment | 
Was this review helpful to you?
14 of 15 people found the following review helpful
2.0 out of 5 stars Sorry - I'm going to have to disagree February 27, 2002
I own 3 books on Swing...and I never reference this one. This book's content is badly organized, and the information is badly presented. If your skeptical, grab a really good Swing book like "John Zukowski's Definitive Guide to Swing for Java 2", and pace yourself on the speed you grasp the subject matter, and hands down you'll learn faster with Zukowski's book. It's not enough to have all the info in a book, it's how it's presented and explained. I'm a fan of the Core Java books, so I was excited about this one, but ended up disappointed.
Comment | 
Was this review helpful to you?
14 of 15 people found the following review helpful
5.0 out of 5 stars Phenomenal May 7, 2001
Format:Paperback|Verified Purchase
Others have waxed eloquent about the merits of this book. I have owned it for 2 years and I am still amazed at the depth, clarity, and scope of the information inside. Swing can be confusing, and there are frequently many ways to accomplish a task. Geary takes you through from the ground up and shows how to harness this powerful API. Long as it is, the book builds on the foundation of the AWT 1.1 coverage in volume 1. Swing is heavily dependent on the revised AWT architecture, so volume 1 is a must-own for anyone serious in leveraging the full Java GUI API. I had been a Swing programmer for almost a year before buying this book, and it completely redefined how I thought about the API, as well as the results I have obtained. My hat is off to Mr. Geary, as well as the designers of this surprisingly powerful and complete API!
Comment | 
Was this review helpful to you?
11 of 12 people found the following review helpful
5.0 out of 5 stars Great book, a must for all Java UI developers. July 3, 2001
If you use Swing to develop your Java UI's, and who doesn't, unless maybe you're developing an applet, you must get this book. I have several books dedicated to using JFC and none compare to this one. When you need detailed answers as to how or why Swing controls behave as they do you can rely on getting the correct answer from this book. You may read the first couple of chapters then I recommend using the book as a reference. Read what you need as you need it. This is a huge book, 1600+ pages, dense with information and code samples. I refer to this book often. I give this one a strongly recommended. I hope this helps :)
Comment | 
Was this review helpful to you?
7 of 7 people found the following review helpful
5.0 out of 5 stars A good reference book but not for novices June 20, 2000
If you need a good reference for Java Swing, then this is the book. The different features are thoroughly covered, and a lot of examples are provided. The covered topics include buttons, menubars, toolbars, file choosers, dialog boxes, and text components as well as many others. The book comes with a CD that includes all of the coding examples as well as JDK 1.2. Although this book is a great reference, it is not for novices. A basic understanding of Java is needed to do well with this book as it assumes you know the basics already. In all, every Swing programmer should have this book.
Comment | 
Was this review helpful to you?
12 of 14 people found the following review helpful
5.0 out of 5 stars A Leader in the Pack February 17, 2000
By A Customer
If you want to go farther than just plopping a JComponent into a JFrame or Japplet, then this is the book for you. Graphic Java 2 picks up where all the other Swing books leave off. The technical detail is superb and unsurpassed by other texts I've read. The examples are well thought out and exploit every possible component variation. Geary's insight to the "inner workings" (UI delegates, for instance) of Swing is impressive. Granted, this book is not for the beginner. But at some point in your Swing career you will want to read Graphic Java 2 cover to cover. Why wait!
Comment | 
Was this review helpful to you?
6 of 6 people found the following review helpful
5.0 out of 5 stars approachable and thorough April 15, 2000
Format:Paperback|Verified Purchase
I found this book to be a thorough start-to-finish explanation of Swing, with detailed coverage of each component. There is a wealth of online information about Java and Swing, and there are also other Swing books, but I never saw the big picture until I bought this book. A MUST READ for any Java GUI developer. Other reviewers have stated that this book was too complex for beginner and intermediate developers. I strongly disagree. Swing itself is complex and powerful, and to leverage its full potential requires advanced programming skill. However I do not believe it, or this book, could be made any simpler and remain as useful and powerful. If you want simplicity, get a book on VB!
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars Caveat Emptor
Please be aware that if you received this book (from the shipper) with the index missing, you probably have only half the book! Please check your front cover. Read more
Published on August 21, 2010 by KellyRek
2.0 out of 5 stars Lots of details, no big picture, and no index
I have never used Swing before. It seemed like a right choice for my latest app, whose main target is a small set of cross-platform developers. Read more
Published on April 9, 2010 by Aleksandar Totic
5.0 out of 5 stars Most useful book ever.
This book is by far the best Swing book I have ever read.

It doesn't bother teaching you how to use Swing until you understand exactly how it works on the inside. Read more
Published on August 14, 2009 by Amazon Customer
5.0 out of 5 stars One and Only
I wish I had bought this book first...I found this book to be a great read; fun, entertaining, and structered in a way that answered my questions before I could ask them. Read more
Published on February 25, 2007 by Booked
4.0 out of 5 stars Still good
Like a fine movie, this book is still very useful even as the language advances. A wonderful reference I still find myself reaching for it several times a week for parts of the GUI... Read more
Published on August 21, 2003 by Elwood Dunning
3.0 out of 5 stars Pure java
That is all, pure java. Simple, organized, interfaced, estructured, conceptual and objective point of view of reality. Read more
Published on August 5, 2003 by Ignacio Javier Gomez Rodriguez
5.0 out of 5 stars A very comprehensive book
This book is very comprehensive and is a must for any serious Swing developer. I have found it as a good reference for all sorts of examples and also in a method lookup like way.
Published on March 14, 2003
5.0 out of 5 stars A standard to which more technical books should measured
Mr. Geary has produced a wonderfully comprehensive guide to Java Swing, patiently explaining the advantages and disadvantages of each component, along with the theory behind... Read more
Published on August 6, 2002 by J. Ungerleider
1.0 out of 5 stars almost worthless
I really don't understand why this book has such a high rating. I've found it to very poorly written and bloated with useless information. Read more
Published on June 30, 2002
5.0 out of 5 stars Awesome, but a little dated
This book is great, even though its alittle dated cause it was published almost 3 yrs ago and uses booch notation for its diagrams. Read more
Published on April 10, 2002 by Ross James
Search Customer Reviews
Only search this product's reviews

What Other Items Do Customers Buy After Viewing This Item?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more


There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
First post:
Prompts for sign-in

Look for Similar Items by Category