The Swing components are intended to extend but not replace the AWT components. Like the AWT, Swing is used to create graphical user interfaces for Java programs. Since this is the role of the AWT, why do we need Swing? Swing offers a number of advantages over the AWT components. There are more Swing components than AWT components including some high level components such as a tree-view and tabbed panels. Where the Swing and AWT components seem to overlap, such as the classes which represent buttons, the Swing component offers greater functionality than their AWT counterparts.
- List Item
- Radio Button
- Horizontal Alignment
- Public Class
- Complete Application
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
This is a preview of subscription content, access via your institution.
Tax calculation will be finalised at checkout
Purchases are for personal use onlyLearn about institutional subscriptions
Unable to display preview. Download preview PDF.
© 1999 Springer-Verlag London
About this chapter
Cite this chapter
Cowell, J. (1999). The Swing Components. In: Essential Java 2 fast. Essential Series. Springer, London. https://doi.org/10.1007/978-1-4471-0573-2_13
Publisher Name: Springer, London
Print ISBN: 978-1-85233-071-2
Online ISBN: 978-1-4471-0573-2
eBook Packages: Springer Book Archive