The University of Queensland Homepage
School of ITEE ITEE Main Website

 The Java
TM Tutorial
Previous Page Lesson Contents Next Page Start of Tutorial > Start of Trail > Start of Lesson Search
Feedback Form

Trail: Creating a GUI with JFC/Swing
Lesson: User Interfaces that Swing: A Quick Start Guide

Summary

This lesson glossed over many details and left some things unexplained, but you should have some understanding now of what you can build with Swing components. You should now have a general understanding of the following:
  • How to set up the containment hierarchy of each Swing component. To add a component to a container, you use some form of the add method.
  • How to implement many standard GUI components, such as buttons, labels, combo boxes, and radio buttons, which you combine to create your program's GUI.
  • How to change the layout of components by using layout managers.
  • How to handle events and accommodate threads in Swing programs. Recall that the event-handling mechanism is based on the AWT event-handling model in which you register event listeners upon the components which generate events.
For a quick, visual reference of the Swing components see A Visual Index to the Swing Components(in the Creating a GUI with JFC/Swing trail).

For more complete information on Swing, see the full trail: Creating a GUI with JFC/Swing(in the Creating a GUI with JFC/Swing trail) This trail is also published as a book, The JFC Swing Tutorial.


Previous Page Lesson Contents Next Page Start of Tutorial > Start of Trail > Start of Lesson Search
Feedback Form