23Introduction to Swing
23.1 WHAT IS SWING?
AWT, layout managers and event handling have been covered in earlier chapters. This chapter deals with refind form of AWT components and other aspects in a form of Swing package. Swing is a set of classes that provides more powerful and flexible 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 runtime, or design own look and feel.
4. Many miscellaneous new features: Double-buffering ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access