O'Reilly logo

Platinum Edition Using XHTML™, XML, and Java™ 2 by Andrew H. Watt, Mike Morgan, Jim O'Donnell, Eric Ladd

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required