Sell Back Your Copy
For a $0.54 Gift Card
Trade in
Have one to sell? Sell yours here
Java Swing, Second Edition
 
 
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.

Java Swing, Second Edition [Paperback]

James Elliott (Author), Robert Eckstein (Author), Marc Loy (Author), David Wood (Author), Brian Cole (Author)
3.4 out of 5 stars  See all reviews (76 customer reviews)


Available from these sellers.


Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Paperback, Bargain Price --  
Paperback, November 1, 2002 --  
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Book Description

0596004087 978-0596004088 November 1, 2002 2nd

Swing is a fully-featured user interface development kit for Java applications. Building on the foundations of the Abstract Window Toolkit (AWT), Swing enables cross-platform applications to use any of several pluggable look-and-feels. Swing developers can take advantage of its rich, flexible features and modular components, building elegant user interfaces with very little code.

This second edition of Java Swing thoroughly covers all the features available in Java 2 SDK 1.3 and 1.4. More than simply a reference, this new edition takes a practical approach. It is a book by developers for developers, with hundreds of useful examples, from beginning level to advanced, covering every component available in Swing.

All these features mean that there's a lot to learn. Even setting aside its platform flexibility, Swing compares favorably with any widely available user interface toolkit--it has great depth. Swing makes it easy to do simple things but is powerful enough to create complex, intricate interfaces.

Java Swing, 2nd edition includes :

  • A new chapter on Drag and Drop
  • Accessibility features for creating a user interface meeting the needs of all users
  • Coverage of the improved key binding infrastructure introduced in SDK 1.3
  • A new chapter on JFormattedTextField and input validation
  • Mac OS X coverage and examples
  • Coverage of the improved focus system introduced in SDK 1.4
  • Pluggable Look-and-Feel coverage
  • Coverage of the new layout manager, SpringLayout, from SDK 1.4
  • Properties tables that summarize important features of each component
  • Coverage of the 1.4 Spinner component
  • Details about using HTML in components
  • A new appendix listing bound actions for each component
  • A supporting web site with utilities, examples, and supplemental materials
Whether you're a seasoned Java developer or just trying to find out what Java can do, you'll find Java Swing, 2nd edition an indispensable guide.


Editorial Reviews

Amazon.com Review

Java Swing, long regarded as the authoritative book on using the Swing classes, is available in a new edition that builds on a solid foundation in exploring the Java 2 Swing additions and modifications. This is a big, tremendously detailed, exhaustively researched, and ultimately authoritative reference that pushes the limits of what a book can do toward eliminating the necessity of writing experimental programs to see how Swing classes work in practice. You'll find in these pages bits of software that show how most of Swing works: all of the major features get lavish attention, while most of the minor classes are demonstrated adequately, as well.

You could probably find demonstrations free of charge on the Internet, however. The true value of this work is in the comments its five authors have attached to their copious examples. They can be quite specific: at least one such segment warns that default Swing behavior violates Mac OS X user interface guidelines and explains how to work around the problem. Another section explains how the methods of the UndoableEdit class can be used in various ways, to implement different user interface behavior options. Some readers will head straight to the O'Reilly Web site, where they can grab the code and examine it in an editor rather than in print--code listings take up a lot of space here--but everyone will appreciate the concise hierarchy, method, and property documentation, as well as the wisdom contained in the prose. --David Wall

Topics covered: The Swing classes for creating graphical user interfaces in the Java programming language. It covers all the windowing stuff--dialogs, buttons, containers, layouts, lists, and that kind of thing--as well as tables, trees, text-manipulation classes, formatted text, drag and drop, and accessibility support.

About the Author

Marc Loy is a senior programmer at Galileo Systems, LLC, but his day job seems to be teaching Java and Perl to various companies -- including Sun Microsystems. He has played with Java since the alpha days and can't find his way back to C. He is developing an interactive learning application at Galileo written entirely in Java. He received his master's degree in computer science at the University of Wisconsin-Madison, and still lives in Madison with his partner, Ron Becker. He does find time to relax by playing the piano and/or throwing darts, depending on how successful the day of teaching or programming was.

Robert Eckstein, an editor at O'Reilly, works mostly on Java books (notably Java Swing) and is also responsible for the XML Pocket Reference and Webmaster in a Nutshell, 2nd Edition. In his spare time he has been known to provide online coverage for popular conferences. He also writes articles for JavaWorld magazine. Robert holds bachelor's degrees in computer science and communications from Trinity University. In the past, he has worked for the USAA insurance company and more recently spent four years with Motorola's cellular software division. He is the co-author of Using Samba.

David Wood is Technical Director of Plugged In Software in Brisbane, Australia, where he works with a wonderful team producing Java custom software. In his eclectic career he has been a ship's navigator, deep sea salvage engineer, and aerospace project manager for the U.S. Navy, and consulted to Lawrence Livermore National Laboratory and Netscape. David enjoys hiking and sailing with his very patient wife and teaching his son Perl before he goes to kindergarten. David holds degrees in mechanical, electrical, aeronautical, and astronautical engineering from the U.S. Naval Postgraduate School and the Virginia Military Institute.

a senior software engineer at Berbee, with over ten years professional experience as a systems developer. He started designing with objects well before work environments made it convenient, and has a passion for building high-quality Java tools and frameworks to simplify the tasks of other developers.

has been working with Java since its early days and teaches the language at venues ranging from Sun Microsystems to public high school. He has a BA from Oberlin College and an M.S. from the University of Wisconsin-Madison.


Product Details

  • Paperback: 1280 pages
  • Publisher: O'Reilly Media; 2nd edition (November 1, 2002)
  • Language: English
  • ISBN-10: 0596004087
  • ISBN-13: 978-0596004088
  • Product Dimensions: 8.7 x 7.5 x 2 inches
  • Shipping Weight: 3.6 pounds
  • Average Customer Review: 3.4 out of 5 stars  See all reviews (76 customer reviews)
  • Amazon Best Sellers Rank: #404,698 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

76 Reviews
5 star:
 (20)
4 star:
 (24)
3 star:
 (12)
2 star:
 (10)
1 star:
 (10)
 
 
 
 
 
Average Customer Review
3.4 out of 5 stars (76 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

39 of 42 people found the following review helpful:
5.0 out of 5 stars The most informative reference available, February 20, 1999
This review is from: Java Swing (Paperback)

Pavel Vorobiev and I are currently finishing up an 'advanced' Swing book consisting mainly of examples ("Swing", Manning publications). We have referenced the Swing source code nonstop. Apart from this, we feel that Java Swing is the best Swing reference money can buy. This book is not an API docs dump. It is a high quality reference book for GUI developers who are prepared to do their job professionaly, not blindly. If you are looking for a hand-holding tutorial this book is not for you (for this I would suggest Up to Speed With Swing).

Java Swing is very well organized and full of original explanation. I encourage potential readers to disregard other comments claiming that this book is API repetitive or doesn't explain enough. No book can cover every possible situation that can arise in the creation of a GUI, and no book will fully explain all of the inner workings of each Swing component and UI delegate. Swing is a very complex and extensive library with some very interesting and powerful mechanisms working behind the scenes. Without a doubt, Java Swing is the most informative and rich reference available. I recommend it highly.

Matthew Robinson
"Swing", Manning publications
Swing "Tips and Tricks", The Swing Connection

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


21 of 22 people found the following review helpful:
4.0 out of 5 stars A good resource, April 26, 2003
This review is from: Java Swing, Second Edition (Paperback)
"Java Swing" is an in-depth look at the features and components of Java's popular Swing API. The much-anticipated second edition of O'Reilly's classic brings the book up-to-date with the changes made in SDKs 1.3 and 1.4. Each Swing component is covered in detail, providing information on constructors, methods, and properties. There is of course a plethora of example code clearly demonstrating how to use the various components and features.

While "Java Swing" is quite a hefty book, it does not cover the Java event model introduced in JDK 1.1, the AWT layout managers, or relevant AWT components such as Component that are subclassed by Swing components. Instead references are given to pdf files containing chapters of O'Reilly's out-of-print AWT book. While this may have been an acceptable omission for the first edition in 1998, where it might be assumed that developers had some experience with AWT, I do not feel this is a valid assumption today.

If you can look past the book's omissions, or if you have a companion reference covering those features, "Java Swing" has much to offer and will serve as a treasured reference. If you are unfamiliar with AWT and looking to learn how to develop user interfaces in Java, you may wish to look elsewhere first.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


13 of 13 people found the following review helpful:
3.0 out of 5 stars Explaining everything isn't always a good thing., September 18, 1999
By A Customer
This review is from: Java Swing (Paperback)
There is a lot to know about Swing -- a ton. It's a hazard in writing about it to render so much information in a tedious way, and this book fell victim to it. Every stone of Swing the authors could think to turn is, I am sure, turned. For Pete's sake, this book is longer than Unix Power Tools, and that book represents two decades of Unix experiences!

I've had this book for six months and I'm still trying to pick through all the method, class, and interface descriptions to find the kernels of real insight. The book does have them, but you have to wade in deep to get one. I would rather have a well-organized collection of insights to guide exploration, and a separate reference section; this book mostly lists and explains. I can't stay awake for it.

The concepts are important. Plenty of examples are important. With those things firmly in hand, you can point out exceptions or substantive variations on rules, focussing on major ideas.

I have no doubt this book was an exhausting effort; the style reflects it.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
public void install, focus cycle root, initial selection state, undoable edits, event dispatch thread, int startlndex, event listener list, list selection model, combo box editor, public void drop, chooser panel, system event queue, int orientation, drag gesture, int endlndex, public void replace, been iconified, property change events, layered pane, static utility methods, heavyweight components, caret location, native windowing system, root pane, cell renderer
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Property Data, Border Layout, Class Abstract Class, Constant Data, Constant Type Description, Cancel Figure, Metal Look-and-Feel, Selected Not Selected, Choice Selected, Dialog Font, Events Objects, Integer Used, Java Plug-in, Property Table, Remove Element, Tree Events, Windows Look-and-Feel Figure, Class Another, Document Listener, Event Description, File Edit Tools, First Name, Handling Numerics, Java Development Kit, Last Name
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Surprise Me!
Search Inside This Book:




What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(4)
(1)
(1)
(1)
(1)

Your tags: Add your first tag
 

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

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject