Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Where can I learn about Swing? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Where can I learn about Swing?" Watch "Where can I learn about Swing?" New topic

Where can I learn about Swing?

Robert Miller
Ranch Hand

Joined: Jun 18, 2004
Posts: 56
I'm currently studying for the SCWCD but I am considering also starting work on the programming assignment for the SCJD. I have no experience doing user interfaces on Java. It seems like all of the books on Swing that have been reviewed at javaranch assume some prior knowledge of Swing or AWT.

What resources do you all recommend for someone who has done user interface work but does not already know about AWT or Swing?


Robert Konigsberg
Ranch Hand

Joined: Jun 23, 2004
Posts: 172
You know, I used three excellent print references to understand Swing, which you may already have:

1. Core Java 2 - Volume 1 - Fundamentals
2. Core Java 2 - Volume 2 - Advanced Features
3. Java Cookbook

You can probably get away with books 1 and 3.

Good luck!


SCJP 1.4 (91%)<br />SCJD 1.4 (376/400, 94%)
Eben Hewitt
Ranch Hand

Joined: Apr 16, 2004
Posts: 36
The O'Reilly book called Java Swing is pretty good. It covers everything that is required by the SCJD, and is useful as a reference. It also covers the 1.4 SDK so it includes coverage of things like Spring Layout.

The books that Rob mentions are all excellent, especially the Core books by Cay Horstmann and Gary Cornell.

I would also recommend the Core JFC book by Kim Tompley. It is a little older and covers 1.3. But it is better written in my view than the O'Reilly book, and the fundamentals are covered quite well.

Both of them are huge--around 1400 pages.
[ June 24, 2004: Message edited by: Eben Hewitt ]

Eben Hewitt. SCJP, SCWCD, SCJD, SCJWSD for JEE 5, TOGAF 8 Certified Architect, author of Java SOA Cookbook (O'Reilly, 2009) and contributor to 97 Things Every Software Architect Should Know
Robert Konigsberg
Ranch Hand

Joined: Jun 23, 2004
Posts: 172
Eben makes good suggestions as well. The only reason why you might want to consider avoiding them is because there is just so much information in them, you may find yourself wading through them just to find what you want (This is which is what makes Java Cookbook so good - it's very at-your-fingertips for the basic questions. That, in conjunction with the detail in Volume 1 is enough to pass the test, I believe.)

Actually I may be missing JTable in there.

We're just providing two opinions. I'm sure you'll figure out the right thing to do.
[ June 26, 2004: Message edited by: Robert Konigsberg ]
I agree. Here's the link:
subject: Where can I learn about Swing?
It's not a secret anymore!