Swing Component APIs
With the AWT, you can choose buttons, labels, lists, and a few other user-interface components. With the Swing components, Sun provides a richer interface, more akin to the full range available in Microsoft Foundation Classes or the Macintosh Toolbox. More than twice as many Swing components are available as AWT components. The Swing components include
Labels
Bordered panes
Progress bars
ToolTips
Buttons
Radio buttons
Check boxes
Toolbars
Sliders
Combo boxes
Menus
Trees
Scrollbars
List boxes
Tabbed panes
Tables
All these components are lightweight—instead of building a peer component from the native operating system, they look for a library of pluggable look-and-feel classes. Three complete PLAF libraries come with the Windows version of ...
Get Platinum Edition Using XHTML™, XML, and Java™ 2 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.