O'Reilly logo

Core SWING advanced programming by KIM TOPLEY

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 5. BI-DIRECTIONAL TEXT

Topics in this Chapter

  • Bi-Directional Text

  • Physical Fonts

  • Bi-Directional Text and the Caret

With the introduction of the Java 2D application programming interface (API), Java 2 provides enhanced text handling facilities that you can take advantage of using the Swing text components. A complete discussion of Java 2D would be well beyond the scope of this book, so in this cha0pter, we'll focus on one specific piece of the Java 2D functionality that is exposed by the Swing text components and that you can easily make use of: bi-directional text. As you'll see, the support provided by the text package for text that might not all be read in a single direction is sufficiently comprehensive that, as a developer, most of the ...

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