A Visual Index to Swing Components

 <  Day Day Up  >  

A Visual Index to Swing Components

Top-level containers are the components at the top of any Swing containment hierarchy. They're shown in Figure 1.

Figure 1. Top-level containers.

graphics/03fig01.gif

General-purpose containers, shown in Figure 2, are intermediate containers that can be used under many different circumstances.

Figure 2. General-purpose containers.

graphics/03fig02.jpg

Special containers, shown in Figure 3, are intermediate containers that play specific roles in the UI.

Figure 3. Special-purpose containers.

graphics/03fig03.gif

Basic controls, shown in Figure 4, are atomic components that exist primarily to get input from the user ; they generally also show simple state.

Figure 4. Basic controls.

graphics/03fig04.jpg

Uneditable information displays, shown in Figure 5, are atomic components that exist solely to give the user information.

Figure 5. Uneditable information displays.

graphics/03fig05.gif

Editable displays of formatted information, shown in Figure 6, are atomic components that display highly formatted information that (if you choose) can be edited by the user.

Figure 6. Editable displays of formatted information.

graphics/03fig06.gif

graphics/03inf01.jpg

 <  Day Day Up  >  


JFC Swing Tutorial, The. A Guide to Constructing GUIs
The JFC Swing Tutorial: A Guide to Constructing GUIs (2nd Edition)
ISBN: 0201914670
EAN: 2147483647
Year: 2004
Pages: 171

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net