Basic Swing

Swing Graphical User Interfaces

To create a graphical user interface (GUI, pronounced goo-ee), you will:

Components

Components are the basic building-blocks for creating a Gui.

Layout Managers

Layout Managers control how Components are laid out on the screen.

The basic ones are:

You may review the Swing notes from 04-330 Basic Swing and the online documentation.

Gui2 Applet

The Gui2.java, which runs the LookAndFeel.java example doesn't do anything. It just demonstrates using the layout manager to add components.

You can run this example with 3 different "look and feels":

Farenheit/Celsius Converter

Swing Event Handling