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

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.

Core Swing: Advanced Programming [Paperback]

Kim Topley
3.2 out of 5 stars  See all reviews (17 customer reviews)

Available from these sellers.



Book Description

Dec 20 1999 0130832928 978-0130832924 1
The most up-to-date collection of advanced Swing techniques available!
Sophisticated new techniques for working with text, trees, and tables.
Drag-and-drop, undo/redo, accessibility, customizing your own Swing components, and much more!
Answers dozens of the most important questions raised by programmers in the comp.lang.java newsgroups. Now that the Swing classes have been in the marketplace for several months, thousands of Java programmers are ready to go beyond the first round of Swing books. In short, theyre ready for Core Swing- Advanced Programming, the most advanced Swing techniques ever published! Kim Topley picks up where he left off in Core Java Foundation Classes, providing even more sophisticated techniques for working with text, trees, and tables, creating your own Swing components; and much more. In this book, Topley has taken on many of the toughest Swing issues raised by programmers in the Java newsgroups -- and hes also addressed three key topics many earlier Swing books missed- undo/redo, drag-and-drop, and accessibility.
Kim Topley is author of Core Java Foundation Classes (Prentice Hall PTR). One of the first developers to obtain the Sun Certified Java Programmer qualification, he now builds applications for a leading financial institution in London, England.

Customers Who Bought This Item Also Bought


Product Details


Product Description

From Amazon

Written as a supplement to the author's Core Java Foundation Classes, Kim Topley's Core Swing: Advanced Programming delves deeply into several important Java topics. Every experienced Java programmer will find very useful techniques for working with Swing controls and other high-level UI features.

The book zeroes in on two aspects of Swing interfaces. First, there are over 500 pages on optimizing your usage of a variety of Swing text controls. The author provides solutions to mimicking native-style operating system support for data validation, numeric input, and special processing with user input. There's also excellent coverage on the extensive support in Swing for loading and displaying HTML. Sections on extending the Swing table control will let you change how table data is displayed and edited (with coverage of custom renderers and cell editors).

In addition, this book explores features in Swing that allow you to carry out advanced user interface operations, such as drag-and-drop functionality and undo support. Throughout this text, the author uses short code excerpts that solve problems and showcase brilliant Swing implementations. By concentrating on strategies and solutions, and not just the Swing APIs, the author shows you not only how to solve particular problems but also the underlying Swing design philosophy, so you can take this library even further in your own programs.

If anything, this text proves once and for all that Swing is ready to take on native operating systems like Windows with its support for advanced user features. This book delivers some really valuable and impossible-to-find information for any experienced Java programmer who needs to do more with Swing. --Richard Dragan

Topics covered: Extending Swing text controls, text wrapping and scrolling, manipulating text documents, input validation, text attributes, highlighters and carets, custom views, Swing HTML support classes, viewing HTML, editor kits, cascading style sheets and Swing, bi-directional text for international applications, advanced table features in Swing, custom table renderers, table editing and cell editors, drag-and-drop support in Swing, drag sources and drop targets, using tree controls for file information, undo support in Swing.

From the Back Cover

The experienced developer's guide to the Swing classes!

Core Swing helps you deliver the sophisticated Java GUI applications your users demand—with Java Swing techniques that start where other books leave off! Building on his bestseller Core Java Foundation Classes, Kim Topley takes on the toughest Swing issues raised by programmers throughout the Java community and addresses crucial topics first-generation Swing books completely missed.

With Core Swing, you'll discover how to exploit the Swing tree and table controls to the fullest, customize and create your own text fields with features that sophisticated users expect, build your own editors and file viewers, and much more. There is complete and in-depth coverage of Swing's HTML support, a topic barely addressed in other Swing books. You'll also find detailed coverage of undo/redo and drag-and-drop, with lengthy, fully documented code examples, in the book and on the accompanying CD-ROM.

Every Core Series book:

  • DEMONSTRATES how to write commercial quality code
  • FEATURES dozens of nontrivial programs and examples—no toy code!
  • FOCUSES on the features and functions most important to real developers
  • PROVIDES objective, unbiased coverage of cutting-edge technologies—no hype!

Core Swing: Advanced Programming delivers:

  • State-of-the-art insights into the Swing classes that other books can't touch
  • Practical techniques for building the Swing components you really need
  • Fast-track techniques for making the most of text controls, editors, tables, and drag-and-drop
  • Hundreds of professional-level code examples

CD-ROM

The accompanying CD-ROM includes all of the book's detailed code examples a bonus chapter taken from Kim Topley's first book, Core Java Foundation Classes, and trial versions of SwingBuilder from SwingSoft and Netbeans.


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 Reviews

Most helpful customer reviews
5.0 out of 5 stars Very good, rather specialized, advanced book April 21 2003
By A Customer
Format:Paperback
This book was wisely focused on selected advanced Swing topics, rather than trying to be comprehensive. I suspect Kim Topley could write two or three additional books with a similar level of detail on other advanced Swing topics, and it was sensible not to write 2500 pages all at once.
_If_ the focus topics (everything you might want to know about text components, table cell renderers and editors, drag-and-drop, undo/redo) are of interest to you, you won't find a better text anywhere, explicitly including all the Swing tutorials available on the Web. This is not a Swings basics book, but it _is_ an excellent how-to, and often why-to, book. Lots of code examples, lots of explanation.
Let me repeat: This is not a Swing basics book. The emphasis is not on how to apply the stock JFC components, but rather on how to customize, modify and extend the JFC components. For example, instead of just saying "JFC drag-and-drop support is limited primarily to raw text", Topley shows you how to implement support for d-d of whatever data types you are interested in. Actual d-d data interchange representations are not discussed, as that is highly platform- and datatype-specific.
Was this review helpful to you?
3.0 out of 5 stars Very limited Scope Aug. 29 2002
Format:Paperback
This book covers only a very few topics:
mainly tables and editors.
If you want to write your own components, data validators, etc, this book has nothing to tell you. If you are curious about traversal, find some other book.
Using the book I was able to figure out tables sufficiently to write streaming autosorting tables and custom renderers. Thankfully there are is plenty of example code which is much more eloquent than the rather rambling text.
Was this review helpful to you?
4.0 out of 5 stars It says 'Advanced' Dec 13 2001
Format:Paperback
If you are a newby Swing programmer, get OReilly's Java Swing book for all the gory low level details. When you are done with that, jump into this book for 'advanced' information on Swing for doing real applications. The undo chapter alone is outstanding, providing the best explaination of any book I've looked at...
Was this review helpful to you?
Format:Paperback
A whole chapter on JTables and not mentioning much about the tables. There is more focus on BigDecimal and Doubles than on how a table works.
Why don't you write this chapter again and talk about. 1. How a Table works. 2. What a TableModel is and how it Works. 3. What is a renderer and why would i need on. 4. Don't WORRY ABOUT CURRENCY, Write about tables.
Also, if you want to make a practical example.
DON'T USE: Object[][] as the basis for your table without explaining which array is thr row ant which is the column.
Build a custom object like one that might be used in the REAL WORLD and write about that.
class CostElement { short id; String name; int Price; }
now define a table full of CostElement[] objects. Now THAT, would be practical.
This book does not adequatley address the relevant topics to make it meaningful. think I'm going to return my book. It is of no use to me.
Terry
Was this review helpful to you?
4.0 out of 5 stars Great Book for Serious Java GUI programmer June 19 2001
Format:Paperback
This is one of the most helpful book that I had bought in helping me doing a java GUI in Swing. It is definitely not a book for beginners or for those who are starting to learn about JAVA Swing. It is reference for serious programmer who want to resolve some UI problem or specific UI requirements.
It had provide ample examples in which the programmer could capitalize. The only drawback is that it tends to be a bit long winded at time and reader may get lost. That why the book deserved a 4 instead of a 5.
Was this review helpful to you?
By A Customer
Format:Paperback
This book's title makes you think it covers SWING. It actually only covers a limited subset of things that can be handled using swing. If you're looking for a general purpose book stay away from this one. This might be useful if you're trying to write a text editor using swing. For the stuff it covers it might be useful but it covers very little - mostly it just collects dust on the shelf.
Was this review helpful to you?
2.0 out of 5 stars Problems with this book April 30 2001
Format:Paperback
The book is entitled Core Swing and I bought the book believing it to be so. However, it is not this. Rather it is a collection of chapters on very specific problems which are of limited relevance unless you wish to solve these very specific problems. I managed to extract a few things which I could generalise but really the book needs to be written in a much more general way and then modify the examples to be more general and put them in an appendix. I followed the procedures on customing DND to other components and could not make it work (I believe not bothering to do this will though). JTrees are used as an example for moving data between applications. Who would want to use this in such an obscure way?
Was this review helpful to you?
3.0 out of 5 stars useful samples, poor writing April 21 2001
By A Customer
Format:Paperback
This book gives some advanced Swing samples that I can use, but the writing gets in the way. I agree that he rambles too much, glosses over some things and pores way too long on others. This book really needed an editor, and better organization.
A minor annoyance is how the sample code excerpts list the variables at the end of the code instead of before the code, so you have search for the end of the sample before you can even start reading it.

What we need is a good online site and code snippet archive really.
Was this review helpful to you?
Want to see more reviews on this item?
ARRAY(0xb3692468)

Look for similar items by category


Feedback