Advanced Search
Start Your Free Trial

Overview

Other Readers Also Read...
Swing Hacks

Swing Hacks
by Joshua Marinacci; Chris Adamson

Top Sellers in this Category

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.

Amazon.com® Reader Reviews (Ranked by Helpfulness)

Average Amazon.com® Rating: 3.5 out of 5 rating Based on 77 Ratings

Encyclopedic tome on Swing is a great reference - 2006-01-21
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This extremely hefty book on Swing has just about everything in it. However, it is intended to be a reference on Swing, not a tutorial. The problem with the Java Swing API is that it is so large and unwieldy itself that it is difficult to write a complete and useful reference that does not reflect that fact. If you need a good tutorial on Java Swing, you might want to look at the Core Java books by Cornell and read the chapters that apply to Swing. Cornell manages to carve out the basics of writing a Swing application very clearly without getting wrapped around the axle in details you do not need if you are a beginner. Then, come back to this book when you need to write an application to get the details you need. Since everything in Swing is a JavaBean, much of each component's behavior is controlled by a set of properties that are manipulated by accessor methods. Thus, this book has a table for each class that presents the class properties, the data type for each property, the accessor methods, and the default values. In addition, the book has plenty of demonstration code that shows how to use just about all of the various Swing components. The book even has chapters dedicated to changing the look and feel of components and also repainting issues, which loom large in Swing. You can download all of the book's code from the book's website at O'Reilly and Associates. I highly recommend this book to anyone who already knows the bare basics of writing applications with Swing and needs a useful reference. There is no better one out there in publication of which I am aware.

Good Book With a Bad Title - 2005-06-04
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This is for people who have a working knowledge of Swing and who want a comprehensive reference on their desks. I am preparing for the java Developer exam and thought this would help me get up to speed with Swing. But this is an over kill. Trying to learn Swing with this book is like trying to open a can of Coke with a bulldozer. It would have been more helpful if the Title was something like 'Swing Reference'. If you want to learn some Swing to get some work done very quickly stay away. If you are in the Guru class then go for it. 4 stars because it is indeed a well written reference (Juding from Chapter 1 and 3 and some skimming) But not 5 stars because the Title is misleading

not bad! - 2009-11-16
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Some more damage than described, but still a great deal for $5. Would buy again.

not what i paid for - 2009-04-10
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
A purchased a brand new book. When I got it the cover was creased in half.
The book is amazing but the shipping care was poor. I should have just got a used book. bad job amazon

Very Informative -- A desktop quick reference - 2008-02-05
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This book does a very good job of consolidating all of the information regarding Swing that can be found on the internet and putting it into one book. Just be sure to note that it is HUGE.

It contains many interesting code examples and pictures. It takes every JObject (such as JLabel, JFrame, JTable) and compares what they would look like among different look and feels.

I highly reccomend it for any Java desktop programmer.

Some information on this page was provided using data from Amazon.com®. View at Amazon >


About Safari Books Online • Terms of Service • Privacy Policy • Contact Us • Corporate Licenses • Help • Accessibility | See us on FacebookSee us on Linked InSee us on TwitterRSS

Copyright 2010 Safari Books Online. All rights reserved.