O'Reilly logo

Graphic Java™ 1.2, Volume I: AWT, Third Edition by David M. Geary

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

The Big Three of the AWT

To really get your teeth into the AWT, you're going to have to deal with components, containers, and layout managers in a fairly sophisticated fashion. This means you're going to have to be sensitive to the nuances of their relationship to one another. Primarily, you need to know where one stops working for you and where another starts.

A component contained in a container is quite likely to be subjected to a life of stretching, squashing, and being moved about. Although you might suspect the component's container of dishing out such punishment, containers are spatially challenged; they delegate the laying out—sizing and positioning—of their components to a layout manager. A container's layout manager is the sole force ...

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