Java Swing and over one million other books are available for Amazon Kindle. Learn more

Vous voulez voir cette page en français ? Cliquez ici.

Sign in to turn on 1-Click ordering.
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Start reading Java Swing on your Kindle in under a minute.

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

Java Swing [Paperback]

Marc Loy , Robert Eckstein , Dave Wood , James Elliott , Brian Cole
3.4 out of 5 stars  See all reviews (68 customer reviews)
List Price: CDN$ 83.99
Price: CDN$ 39.46 & FREE Shipping. Details
You Save: CDN$ 44.53 (53%)
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 delivered Friday, October 31? Choose One-Day Shipping at checkout.


Amazon Price New from Used from
Kindle Edition CDN $29.79  
Paperback CDN $39.46  
Join Amazon Student in Canada

Book Description

Nov. 30 2002 0596004087 978-0596004088 2

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.

Special Offers and Product Promotions

  • Join Amazon Student in Canada

Customers Who Bought This Item Also Bought

Product Details

Product Description

From Amazon

Java Swing is an excellent introduction to the latest developments in Java-interface technology. The authors explain how (and why) to use Swing components, and meanwhile proceed to document the entire Swing API with the thoroughness and accuracy programmers have come to expect from O'Reilly & Associates.

Eckstein, Loy, and Wood start with an architectural overview of Swing and its relationship to the Abstract Window Toolkit (AWT) and the rest of Java. They talk a little bit about converting programs from the old AWT to the Swing-enhanced AWT, and explain how Swing manages components' "look and feel" characteristics. There's also coverage of actions, which are among Swing's handiest new features.

From that point, they proceed to guide readers through the Swing forest, pointing out all the important stuff along the way. Mostly, this tour takes the form of graphical user interface (GUI) component documentation, with chapters devoted to buttons, lists, tables, panes, and the other thingamajigs you can put on-screen with Swing. All the classes in each category get entries, many of which include good commentary and some examples. The authors give some attention to the Accessibility API and its associated utilities, too.

A detailed chapter that walks the reader through the process of creating a custom look and feel distinguishes Java Swing from its competitors--this potentially confusing process is explained clearly and thoroughly. --David Wall --This text refers to an out of print or unavailable edition of this title.

From the Publisher

The Swing classes eliminate Java's biggest weakness: its relatively primitive user interface toolkit. Java Swing helps you to take full advantage of the Swing classes, providing detailed descriptions of every class and interface in the key Swing packages. It shows you how to use all of the new components, allowing you to build state-of-the-art user interfaces and giving you the context you need to understand what you're doing. It's more than documentation; Java Swing helps you develop code quickly and effectively. --This text refers to an out of print or unavailable edition of this title.

Inside This Book (Learn More)
Explore More
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Customer Reviews

Most helpful customer reviews
1 of 1 people found the following review helpful
3.0 out of 5 stars Not as good as advertized May 21 2004
The book as a whole is pleasant to read and covers wide enough range of topic. One huge glaring omission is the GridBagLayout (only mentions in passing while cover other less pwerful layout managers). What's up with that?
Don't hope to get much on the section on creating a custom editor kit. The book makes no mention about how to actually create alternative document structures. The on-line chapter is no help on this matter either. I wish the book will explain how ElementSpec class is used.
Was this review helpful to you?
4.0 out of 5 stars Very useful and well written. April 28 2003
By A Customer
The Swing classes eliminate Java's biggest weakness: its relatively primitive user interface
toolkit. Swing provides many new components and containers that allow you to build sophisticated
user interfaces, far beyond what was possible with AWT. The old components have been greatly
improved, and there are many new components, like trees, tables, and even text editors. It also
adds several completely new features to Java's user interface capabilities: drag-and-drop, undo,
and the ability to develop your own "look and feel," or the ability to choose between several
standard looks. Written for the experienced Java developer, Java Swing provides an in-depth guide to
getting the most out of Sun's Swing/JFC user interface classes. Mixing
real-world code examples and expert advice on advanced features, this book shows how to make use of this powerful
library effectively within your own projects.
As a general Swing reference, this book is very good; where it excels is at covering the numerous
important aspects of Swing theory and application. I was initially disappointed by the lack
of coverage of layout managers, however the rest of the content has been extremely useful
in helping me understand the key aspects of Swing GUI development.
Java Swing gives you in-depth coverage of everything you need to know to take full advantage of Swing,
providing detailed descriptions of every class and interface in the key Swing packages. It shows you how
to use all of the new components. Whether you're a serious Java Swing Developer or just trying to figure
out what Java can do you will find this book as an indispensable guide.
Was this review helpful to you?
4.0 out of 5 stars A good resource April 26 2003
By Jason
"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.
Was this review helpful to you?
4.0 out of 5 stars Java Swing April 16 2003
Java Swing is the definitive reference for the Graphical User Interface (GUI) Swing package that has been included in the standard distribution of the Java SDK since Java 1.2. The book is really more of a tomb, weighing in at 1200 pages, and yet none of it seems irrelevant or overly explained. If anything, one would have to complain that maybe there are details missing, but given the length of the book as is, maybe it's better that some of the details were left out.
Publishers O'Reilly have obviously assembled a group of talented Java GUI designers to write this book, because the commentary is rife with real advice and coherent, practical explanations. The book does take some assumed knowledge for granted, such as basic programming skills, knowledge of Object-Oriented programming practices, and UML-style class and object relationship graphs, but I wouldn't say that this book excludes the beginner programmer in the least. Instead, it walks the fine line of being a useful book for both beginner and expert coders quite well, better than other O'Reilly publications that I've read in the past that I felt were overly explanatory.
The book starts off with a little history on the Swing package, where it came from and what its relationship to the Abstract Windowing Toolkit (AWT) is, but then almost immediately launches into the format that it uses for the next 900 pages of the book, which is to devote an entire chapter to every major section of swing. Topics covered include: buttons, scrollbar-like components, combo-boxes, containers of every shape and size, dialogs, borders, menus, tables, trees, undo facilities, text (about 220 pages on the major text components alone,) and drag and drop.
Read more ›
Was this review helpful to you?
Want to see more reviews on this item?
Most recent customer reviews
2.0 out of 5 stars Mostly a rehash of the Javadoc
I bought this book hoping for in-depth coverage of some of the more complicated aspects of Swing. Unfortunately, most of the book is just re-wording the javadoc for each class,... Read more
Published on March 30 2004
5.0 out of 5 stars Advanced SWING
I really enjoyed this book. The authors really cover all the areas of SWING - JAVA 1.4. If you are new to JAVA, you might to buy a JAVA primer. Read more
Published on Aug. 1 2003 by Michael Pucciarelli
5.0 out of 5 stars Great Java Swing Resource
The Java Swing 2nd Edition O'Reilly book is a very good resource for learning and using Java Swing. The book covers the important and commonly used aspects of Swing without... Read more
Published on March 24 2003 by Steve Spigarelli
This elaborated textbook showed a promising improvement over the previous edition. It is stuffed with the latest guides for creating GUIs. Read more
Published on Jan. 26 2003 by reviewer
5.0 out of 5 stars The Java Swing Bible
There is NO better book on Swing than Java Swing. Start here and end here, it is the best book for any serious Swing developer. Read more
Published on Feb. 13 2002 by Mikey D
1.0 out of 5 stars thumbs down
When this book came out it was poorly written. Today, it is both poorly written and out of date. Many examples do not work without changes, either due to poor editing or due to... Read more
Published on Feb. 4 2002
4.0 out of 5 stars One of the best Swing books available
For visual programming, Swing is a vast improvement over the AWT. Using Swing you can create virtually any user interface. Read more
Published on Jan. 16 2002 by Thomas Paul
1.0 out of 5 stars very disappointing book
This book have too many simple descriptions about swing APIs, so it more like a manual than a book on swing. Read more
Published on Jan. 1 2002 by J. Chen
2.0 out of 5 stars stay away from this one
This book attempts to teach you all the underlying gory details of swing technology and also provide a quick description of every single class and method that can be called. Read more
Published on Dec 1 2001
Search Customer Reviews
Only search this product's reviews

Look for similar items by category