Java Swing, Second Edition

  Author:    James Elliott, Marc Loy, David Wood, Brian Cole
  ISBN:    0596004087
  Sales Rank:    92376
  Published:    2002-11-01
  Publisher:    O'Reilly
  # Pages:    1280
  Binding:    Paperback
  Avg. Rating:    4.0 based on 75 reviews
  Used Offers:    17 from $29.95
  Amazon Price:    $37.79
  (Data above last updated:  2008-11-29 05:25:21 EST)
  
  
Sort customer reviews by:
  
Show All Reviews on Page      Hide All Reviews on Page
   
  
Java Swing, Second Edition
  
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.
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.

                  Reader Reviews 1 - 13 of 13                 
  
  
Review
Date
Review
Rating(5 High)
Review
Helpful
to:
Customer Review Reviewer
Info
Permanent
Link
Reader Reviews Below Sorted by Newest First
02-05-08 5 (NA)
(Hide Review...)  Very Informative -- A desktop quick reference
Reviewer Permalink
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.
(Review Data Last Updated: 2008-11-30 06:25:38 EST)
01-21-06 5 8\10
(Hide Review...)  Encyclopedic tome on Swing is a great reference
Reviewer Permalink
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.
(Review Data Last Updated: 2008-02-05 19:49:43 EST)
06-04-05 4 7\7
(Hide Review...)  Good Book With a Bad Title
Reviewer Permalink
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
(Review Data Last Updated: 2007-07-11 22:48:09 EST)
06-04-05 4 4\4
(Hide Review...)  Good Book With a Bad Title
Reviewer Permalink
This is for people who have a working knowledge of Swing beginner and who want a comprehensive reference on their desks. I am a swing preparing for the 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
(Review Data Last Updated: 2006-07-06 11:07:51 EST)
05-19-05 1 7\14
(Hide Review...)  yikes!!
Reviewer Permalink
I can't recall a tech book so thoroughly unreadable! Maybe if I was more well versed in Swing this might make a little more sense, but seriously....it's great that these folks know all the inheritance lines and can spit them out in eight words or less, but seriously...imagine this as a classroom lecture..anybody awake? anybody still here? well, this class inherits from that or this implemements that interface, and if you look closely, you'll see how this references what we said 47 pages ago (or better yet, what we're gonna say 36 pages down the road!)...all well and good...but we're trying to write real programs and solve real problems....c'mon guys, we're not experts here, else we wouldn't be buying the book!! how about a litle real world usage...I don't have to time to check out the API docs to try and figure out what these guys are yakking about...a major disappointment.
(Review Data Last Updated: 2007-07-11 22:48:09 EST)
04-12-05 4 5\5
(Hide Review...)  Pretty Thorough Reference
Reviewer Permalink
Man, has Swing grown; no wonder it took 5 authors to write this book! Anyway, they do a good job describing a very complex subject. The text is definitely more of a reference than a tutorial, but if that's what you're looking for then definitely check out this book...
*IF* you have another source for layout managers. Other reviewers have pointed this out as well. In my opinion, this topic deserves its own chapter because every time you put a component in a container you have to be aware of its layout manager. And when a dialog box gets complicated, as they are wont to do, you have layout managers dealing with each other ad infinitum - and that is precisely when you really need to understand how they work so you can make sense of what is going on when you resize something.
(Review Data Last Updated: 2007-07-11 22:48:09 EST)
04-11-05 4 4\4
(Hide Review...)  Pretty Thorough Reference
Reviewer Permalink
Man, has Swing grown; no wonder it took 5 authors to write this book! Anyway, they do a good job describing a very complex subject. The text is definitely more of a reference than a tutorial, but if that's what you're looking for then definitely check out this book...
*IF* you have another source for layout managers. Other reviewers have pointed this out as well. In my opinion, this topic deserves its own chapter because every time you put a component in a container you have to be aware of its layout manager. And when a dialog box gets complicated, as they are wont to do, you have layout managers dealing with each other ad infinitum - and that is precisely when you really need to understand how they work so you can make sense of what is going on when you resize something.
(Review Data Last Updated: 2006-07-06 11:07:51 EST)
03-05-05 4 3\4
(Hide Review...)  Best Swing reference out there with room for improvement
Reviewer Permalink
Any book that claims it can tell the readers everything they need for any huge APIs such as Swing is likely to be misleading. But there are utility books that try very hard to make the users as informed as possible. O'Reilly's Java Swing is one of these books. In 1200+ pages, this book tries to explain every little details of the Swing API from the fundamental JComponent to the very advanced manipulation of the Swing Look And Feel, and every major components in between.

There are still some very common issues that Swing developers wished this book had addressed, however. Such issues include the AWT event queue, AWT layout managers, and Swing threading issues. While this book does talk a bit about Swing threading, it does not explain a whole lot of the underlying mechanism of the AWT GUI and event queue that caused most developers trouble.

Overall, this book is a good elaboration on the Swing Javadoc, but not enough as a cure-all for Swing developers.
(Review Data Last Updated: 2007-07-11 22:48:09 EST)
11-06-04 2 3\4
(Hide Review...)  Not quite what I had expected
Reviewer Permalink
I bought this book expecting that the book would make a good tutorial covering all aspects of Java Swing. I found that it does not cover all aspects of Java Swing, not even including the GridBagLayout or BorderLayout Layout Managers. It does not show how JSplitPane can be used within a JSplitPane for a complex layout using JSplitPane as it has been in another book I read. The book is a boring read and does ignite the imagination of the reader to build advanced GUI's. I regret buying the book.
(Review Data Last Updated: 2007-07-11 22:48:09 EST)
08-13-04 4 1\1
(Hide Review...)  Very Dry Reading but Useful
Reviewer Permalink
Swing is a complicated technology, and large- Javax.Swing.* packages number 16, by far the largest in Java. The book is structured more as a reference than as a teaching guide, and is extremely dry reading. Definitely not for novice Java programmers. However, it does a good job in detailing the properties of each class and interface, and describing the architecture of SWING. It took me several chapters to get the hang of the general layout before I could start seeing the forest instead of the trees. And the second time through the book, I had a fairly good understanding of the SWING class models and how they work: The use of MVC Model-View-Controller architecture, default models. The authors do a poor job in explaining some of the less commonly used classes and concepts such as ToolKit, KeyStroke, Look and Feel UI. Also the examples, although good and all worked, are insufficient- especially in the event/listener area. I gave the book 4 stars only because I could develop a GUI after reading it, starting from ground 0- so that's what counts.
(Review Data Last Updated: 2006-07-06 11:07:51 EST)
05-21-04 3 (NA)
(Hide Review...)  Not as good as advertized
Reviewer Permalink
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.

(Review Data Last Updated: 2006-07-06 11:07:51 EST)
03-30-04 2 2\2
(Hide Review...)  Mostly a rehash of the Javadoc
Reviewer Permalink
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, with little advice on how to actually use it properly and effectively. This was a very disappointing purchase.
(Review Data Last Updated: 2006-07-06 11:07:52 EST)
08-01-03 5 4\8
(Hide Review...)  Advanced SWING
Reviewer Permalink
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. This book on SWING has a lot of code which is good for experienced developer. I would recommend this book to anyone who wants to learn advanced features on SWING. I have a message for the experienced developer: the code of the book will challenge you - it challenged me!!!

Michael

(Review Data Last Updated: 2006-07-06 11:07:52 EST)
  
                  Reader Reviews 1 - 13 of 13                 
  
  
  
  
  
  

Because the data used to generate this site come from outside sources, VeryWellSaid.com cannot guarantee the completeness or accuracy of the data.
Search VeryWellSaid™
Google
Web VeryWellSaid™
New subjects are added every week.
View Subjects Below by:
* Top Selling
 (click category name, left)
* Top-Rated Top Sellers
 (click 'Top Rated', right)
In the news...  
Dubai\UAE Top Rated
Influenza\Bird Flu Top Rated
Iraq Top Rated
Supreme Court Top Rated
All Books Top Rated
Arts Top Rated
Photography Top Rated
Digital Photography Top Rated
Digital Cameras Top Rated
Biography Top Rated
Business Top Rated
Management Top Rated
Marketing Top Rated
Sales Top Rated
Stocks Top Rated
Bonds Top Rated
Real Estate Top Rated
Trading Top Rated
Commodities Trading Top Rated
Time Management Top Rated
Starting A Business Top Rated
Children's Top Rated
Comics Top Rated
Computers Top Rated
PC Top Rated
Mac Top Rated
Programming Top Rated
Design Patterns Top Rated
.Net Top Rated
C# Top Rated
Vb.Net Top Rated
Asp.Net Top Rated
Java Top Rated
Python Top Rated
PHP Top Rated
Perl Top Rated
Javascript Top Rated
Ajax Top Rated
CSS Top Rated
Open Source Top Rated
SQL Top Rated
Databases Top Rated
Oracle Top Rated
MySql Top Rated
Sql Server Top Rated
IIS Top Rated
Apache Top Rated
Linux Top Rated
Windows Server Top Rated
Project Management Top Rated
HTML Top Rated
UML Top Rated
IT Certifications Top Rated
Cisco Certifications Top Rated
MCSE Top Rated
MCSD Top Rated
Cooking Top Rated
Italian Cooking Top Rated
Vegetarian Cooking Top Rated
Wine Top Rated
Engineering Top Rated
Entertainment Top Rated
Health Top Rated
Nutrition Top Rated
Dieting Top Rated
Sex Top Rated
History Top Rated
Military History Top Rated
British History Top Rated
Middle East History Top Rated
Land Battles Top Rated
Naval Warfare Top Rated
Air Warfare Top Rated
9/11 Top Rated
Terrorism Top Rated
Home Top Rated
Mortgage\Home Equity Loan Top Rated
Cars Top Rated
Car Buying Top Rated
Sports Cars Top Rated
Cat Top Rated
Humor Top Rated
Horror Top Rated
Law Top Rated
IP Law Top Rated
Legal History Top Rated
Fiction Top Rated
Oprah's Book Club Top Rated
Medicine Top Rated
Cancer Top Rated
Stroke Top Rated
Heart Disease Top Rated
Fertility Top Rated
Diabetes Top Rated
Pharmacology Top Rated
Back Problems Top Rated
Menopause Top Rated
Thyroid Top Rated
Pain Top Rated
Organic Chemistry Top Rated
Immune System Top Rated
Mystery Top Rated
Nonfiction Top Rated
Outdoors Top Rated
Running Top Rated
Radio Control Models Top Rated
Guns Top Rated
Parenting Top Rated
Divorce Top Rated
Professional Top Rated
Reference Top Rated
Religion Top Rated
Romance Top Rated
Science Top Rated
Physics Top Rated
Chemistry Top Rated
Astronomy Top Rated
Psychology Top Rated
Science Fiction Top Rated
Sports Top Rated
Teens Top Rated
Travel Top Rated
USA Top Rated
Europe Top Rated
France Top Rated
Italy Top Rated
England Top Rated
China Top Rated
All Books Arts Biography Click Here For An A-Z Index Of All 213 Best-Seller Subjects Business Children's Comics
Computers Cooking Engineering Entertainment Health History Home Horror Humor Law Fiction Medicine Mystery
Nonfiction Outdoors Parenting Professional Reference Religion Romance Science Sci-Fi Sports Teens Travel
In Association with Amazon.com

Cache miss
(not cached)