O'Reilly logo

Graphic Java™ 2, Volume II: Swing, 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 21. Text Fundamentals

Swing text components are relatively simple components built upon a complex infrastructure provided by the classes and interfaces from the javax.swing.text package. Swing text is covered in three chapters: this chapter discusses the fundamental capabilities that all text components inherit from the JTextComponent class. “Text Components” discusses the text components themselves, and “Customizing Text Components” discusses more advanced aspects of Swing text, such as views, elements, attribute sets, and styles. ...

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