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 ...

Get Core SWING advanced programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.