Trail: Creating a GUI with JFC/Swing
Lesson: Getting Started with Swing

Examples Index

Getting Started with Swing
This lesson gives you a brief introduction to using the Java Foundation Classes (JFC) Swing packages. After telling you about JFC and Swing, it helps you get the necessary software and walks you through how to compile and run a program that uses the Swing packages. Next, it shows you how to run programs using Java Web Start.

The next lesson, Learning Swing by Example, will build on these first steps to help you create several increasingly more complex examples. For now, let's start with the basics.

About the JFC and Swing

This section gives you an overview of the JFC Swing packages.

Compiling and Running Swing Programs

This section gives you detailed instructions on how to install, create, compile and run a program that uses Swing components.

Questions and Exercises

Try these questions and exercises to test what you've learned in this lesson.
Previous page: Table of Contents
Next page: About the JFC and Swing