Topics in this Chapter
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 ...