Java Reference
In-Depth Information
DAY 9:
Working with Swing
The Java class library includes a set of packages called Swing that
enable Java programs to offer graphical user interfaces and collect user
input with the mouse, keyboard, and other input devices.
Today, you will use Swing to create applications that feature each of
these graphical user interface components:
Frames—Windows that can include a title bar; menu bar; and
Maximize, Minimize, and Close buttons
n
Containers—Interface elements that can hold other components
n
Buttons—Clickable regions with text or graphics indicating their
purpose
n
Labels—Text or graphics that provide information
n
Text fields and text areas—Windows that accept keyboard input
and allow text to be edited
n
Drop-down lists—Groups of related items that can be selected
from drop-down menus or scrolling windows
n
Check boxes and radio buttons—Small squares or circles that
can be selected or deselected
n
 
Search WWH ::




Custom Search