O'Reilly logo

Java Programming by Hari Mohan Pandey

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

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

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