IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Need good AWT/Swing book recommendation
Needs to be a) readily availible and b) easy to understand for somebody who doesn't have a bunch of time to throw at it. May be nigh impossible, but I can dream, can't I?
"He who fights with monsters might take care lest he thereby become a monster. And if you gaze for long into an abyss, the abyss gazes also into you." - Friedrich Nietzsche
New There was already a thread about this...
...And I believe it was on this board (IE, not the old IWT), but I'm not 100% sure on that.

Anyway, my recommendation for a great Swing reference is "Java Swing" by Eckstein, Loy, and Wood. O'Reilly publishing.

And stay far, far away from "Graphic Java, Mastering the JFC" by Geary.

Of course, your Java library is not complete without O'Reilly's Java in a Nutshell. EXCELLENT reference book. Most of the information in there can be found online (either Sun's website or through your IDE's help)...But if you prefer having a hard-copy in front of you (as I do) then it's invaluable.
-YendorMike

"The problems of the world cannot possibly be solved by the skeptics or the cynics whose horizons are limited by the obvious realities. We need people who dream of things that never were." - John F. Kennedy
New Thread's over here
[link|http://z.iwethey.org/forums/render/content/show?contentid=3054|http://z.iwethey.or...ntentid=3054]

Good recommendations, by the way.

Brian Bronson
New Re: Need good AWT/Swing book recommendation
Avoid Java Foundation Classes by Nelson and Programming the JFC by Weimar/Asbury.

I found Core JFC (Kim Topley) to be better for learning Swing and the Java Swing (Eckstein, Loy, and Wood) book to be better as a reference, but your mileage may vary. Any way you slice it, there's a LOT in Swing - it's a lot easier to get into than the Windows API (what wouldn't be?) but still... all the controls and features of a windowing environment is a lot to deal with.

The only AWT book I think I bought was Java AWT Reference, by Zukowski, and that's out of print. You may be better off just sticking with Swing - many of the foibles in the AWT were what originally made me so disgusted with Java's galloping featuritis.
"Beware of bugs in the above code; I have only proved it correct, not tried it."
-- Donald Knuth
New Java Swing (O'Reilly) revisited
I just pulled it out and spent some time looking through it. I can more clearly talk about what it is that I dislike about it.

It is a three-year old book based on a beta version of JDK 1.2. The version of Swing it uses in all its examples is the one Sun was using before they decided where they wanted the Swing packages to live (eg, rather than javax.swing, it uses com.sun.java.swing in all its examples) - undoubtedly there are some incompatibilities between the beta and the later versions.

Perhaps my biggest complaint is that it starts out with a chapter on converting AWT to Swing, not a description from scratch of Swing programming, per se. Rather than starting with JFrame and gradually introducing concepts from there, they nibble around the corners and take a more bottom-up (and, for learning purposes, scattershot IMO) approach. They don't even officially get to JFrame, the most common Swing container, until page 231.

By contrast, Sun's online tutorial starts with JFrame, adds event listeners and components, and is generally a better "learning Swing" guide than this book.

In contrast to Topley's book (Core Java Foundation Classes), the O'Reilly book is one of the few O'Reilly books I have that I've been disappointed in. The O'Reilly book *feels* like a hurriedly written beta book in a way that I don't normally associate with O'Reilly.

As a reference, it *does* has a nice presentation of classes, class variables, and methods. But don't buy it for learning Swing.
"Beware of bugs in the above code; I have only proved it correct, not tried it."
-- Donald Knuth
     Need good AWT/Swing book recommendation - (inthane-chan) - (4)
         There was already a thread about this... - (Yendor) - (1)
             Thread's over here - (bbronson)
         Re: Need good AWT/Swing book recommendation - (wharris2)
         Java Swing (O'Reilly) revisited - (wharris2)

This is a test of the Emergency LRPD System. This is only a test.
77 ms