
23.1 WHAT IS SWING ?
AWT, layout managers and event handling have been covered in earlier chapters. This chapter deals with
refi nd form of AWT components and other aspects in a form of Swing package. Swing is a set of classes
that provides more powerful and fl exible components than are possible with the AWT. A number of features
of Swing component are given below:
1. Lightweight: Not built on native window-system windows.
2. Much bigger set of built-in controls: Trees, image, buttons, tabbed panes, sliders, toolbars, color
choosers, tables, text areas to display HTML or RTF, etc.
3. Much more customizable: Can change look and feel at ...