This might be of interest:
Before you go that far, I'd definitely make sure you're comfortable programming a basic JFrame, first. Specifically:
1. Create a JFrame with a panel (for example, a scrollable text area) and a couple of buttons (for example, "Do Something" and "Quit")
2. Successfully lay out the controls on the JFrame (for example, change the default JFrame layout manager to a vertical BoxLayout, position the panel on the top, and center the buttons horizontall on the bottom).
3. Successfully display the JFrame (and the attached controls).
4. Successfully field events from the controls (for example, detect button clicks; handle "X" exit)
If you're unclear about any of these "basics", trying working through the Swing tutorials on http://java.sun.com.
You might also want to check out JavaRanch as another resource (in addition to LQ.org):
'Hope that helps .. PSM