Swing Hacks
Tips and Tools for Killer GUIs
Publisher: O'Reilly Media
Released: June 2005
Pages: 546

Swing Hacks helps Java developers move beyond the basics of Swing, the graphical user interface (GUI) standard since Java 2. If you're a Java developer looking to build enterprise applications with a first-class look and feel, Swing is definitely one skill you need to master. This latest title from O'Reilly is a reference to the cool stuff in Swing. It's about the interesting things you learn over the years--creative, original, even weird hacks--the things that make you say, "I didn't know you could even do that with Swing!"

Swing Hacks will show you how to extend Swing's rich component set in advanced and sometimes non-obvious ways. The book touches upon the entire Swing gamut-tables, trees, sliders, spinners, progress bars, internal frames, and text components. Detail is also provided on JTable/JTree, threaded component models, and translucent windows. You'll learn how to filter lists, power-up trees and tables, and add drag-and-drop support.

Swing Hacks will show you how to do fun things that will directly enhance your own applications. Some are visual enhancements to make your software look better. Some are functional improvements to make your software do something it couldn't do before. Some are even just plain silly, in print only to prove it could be done. The book will also give you give you a small glimpse of the applications coming in the future. New technology is streaming into the Java community at a blistering rate, and it gives application developers a whole new set of blocks to play with.

With its profusion of tips and tricks, Swing Hacks isn't just for the developer who wants to build a better user interface. It's also ideally suited for client-side Java developers who want to deliver polished applications, enthusiasts who want to push Java client application boundaries, and coders who want to bring powerful techniques to their own applications.

Whatever your programming needs, Swing Hacks is packed with programming lessons that increase your competency with interface-building tools.

Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillySwing Hacks
 
3.7

(based on 6 reviews)

Ratings Distribution

  • 5 Stars

     

    (3)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (1)

  • 1 Stars

     

    (1)

Reviewed by 6 customers

Sort by

Displaying reviews 1-6

Back to top

(5 of 5 customers found this review helpful)

 
5.0

Still love this book, how about a sequel?

By gwilson

from Undisclosed

Comments about oreilly Swing Hacks:

Reading and using this book helped bring the APIs to life for me. In Swing, there are often many ways to reach a goal, and Swing Hacks has helped to point the most interesting, creative, and efficient ways. I really had no idea Swing was so powerful until I picked up this book. I hope the authors will write another Swing book that extends this one, and perhaps integrates JavaFX into Swing GUIs also.

(1 of 1 customers found this review helpful)

 
4.0

Fun...love it...lets see another

By Anonymous

from Undisclosed

Comments about oreilly Swing Hacks:

I bought this book when if first came out. I love it. I wonder if these other reviewers simply had the wrong expectations. I still like to read it, years later. It is inspiring. Getting under the hood of Swing is fun, and this book does a great job.

I would like to see more complete code examples in the download. But more importantly I'd like to see another book!

Good work.

(0 of 6 customers found this review helpful)

 
1.0

dead last

By Anonymous

from Undisclosed

Comments about oreilly Swing Hacks:

The constantly changing fonts (some of them cartoonish), font sizes and styles may have seemed like a "cute" approach at first but they quickly become annoying. Some pages have the look of a "Ransom Note" made up of bits and pieces cut and pasted from all kinds of sources. This has never been considered a good design paradigm by anyone, anywhere. Pretty sad for a book on DESIGN patterns.

(1 of 1 customers found this review helpful)

 
5.0

This book is exactly what the title says

By Swing Hacker!

from Undisclosed

Comments about oreilly Swing Hacks:

Right in the beginning of the book it states that some of the examples in this book "are just plain silly, in print only to prove it could be done".

However, I have found that most of the examples in this book (even if they seem silly at first) are real eye-openers to possible ideas for my own Swing applications.

If you use the book code as it was written, it probably won't do what you want. But since this is a book about hacks, keep hacking the code and you will get what you want (as even suggested in the text for most of the hacks in the book)!

This book does assume some knowledge of Swing, but I don't know why anyone who has never written a serious Swing app would be looking at this book in the first place. For those of us that have (and still are) writing Swing apps, this book is a godsend. I just wish it had more hacks, like how to get an IconImage to appear in the title of a non-resizable JDialog!

(1 of 3 customers found this review helpful)

 
2.0

Disappointed...

By ZacWolf

from Undisclosed

Comments about oreilly Swing Hacks:

I've got to say this is my only experience with a bad O'REILLY book!

After a very quick review at my local bookstore, I was very excited with the various hack descriptions.

I'm thinking that's apparently the exact thing that happened to the editor, because when you get into the actual guts of the various "hacks" you find them to be more "kludge" than anything useful.

I'm most disappointed with the "examples" zip you can download, as it seems to be missing over half of the images used in the book which makes the example code fairly useless if you want to replicate the figures from the book.

All and all, there are some useful tidbits that you can get out of the material, but it's nowhere near the "reference" quality I'm used to seeing in O'REILLY books.

Maybe I was looking for something along the O'REILLY "Cookbook" line of books, that focus on reference quality code examples.

I have to admit that the book does clearly say "Tips & Tools" right on the cover, but I'd say it leans more towards Tips than real Tools.

Just be aware,

-Zac Morris

www.zacwolf.com

(2 of 2 customers found this review helpful)

 
5.0

Finally -- an advanced Swing book

By Ronald Hughes

from Undisclosed

Comments about oreilly Swing Hacks:

Awesome. This is a Swing book unlike any other.

It doesn't regurgitate the entire API for every

Swing widget -- there are lots of other books that

do that -- but rather, this book provides particular

complete pieces of code that do AMAZING things.

Some show how easily to create cool visually rich

customizations that work the way Swing was designed

to be used, while others are clever tricks that do

stuff that the Swing designers obviously never

intended!

I love the way the examples are minimal yet

complete. It's code that can easily be hacked

into an already-existing application.

It's time for Java apps to surge back onto the

desktop. This book is gonna help make that happen.

Displaying reviews 1-6

Back to top

 
Buy 2 Get 1 Free Free Shipping Guarantee
Buying Options
Immediate Access - Go Digital what's this?
Ebook: $23.99
Formats:  DAISY, PDF
Print & Ebook: $32.95
Print: $29.95