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

Chapter 14. Text Components

The AWT provides two components for displaying editable text: TextArea and TextField. The TextField component provides a single line of editable text, and the TextArea component provides a multiline textarea that can be thought of as a miniature text editor.

Before we launch into our discussion concerning these two components, we should point out that although the components are useful in their own right, they can be difficult to extend in a meaningful manner because they are peer-based components. While this is true for all of the AWT's ...

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