O'Reilly logo

JFC Swing Tutorial, The: A Guide to Constructing GUIs, Second Edition by Sharon Zakhour, Alison Huml, Mary Campione, Kathy Walrath

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

Chapter 2. Learning Swing by Example

http://java.sun.com/docs/books/tutorial/uiswing/learn/index.html

This chapter explains the concepts you need to use Swing components in building a user interface. First we examine the simplest Swing application you can write. Then we present several progressively complicated examples of creating user interfaces using components in the javax.swing package. We cover several Swing components, such as buttons, labels, and text areas. The handling of events is also discussed, as are layout management and accessibility.

Most of the topics this chapter discusses are covered in depth in later chapters—for example, you can get detailed information on how to use components from Chapter 7, Components Reference—but this ...

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