Java 2D Text gives you the functionality you need to present
application text in more interesting and user friendly ways.
The
java.awt.font.TextLayout
class lets you correctly and
easily display static or editable graphical text in a wide range of modern,
classical, and historical languages. It can correctly measure and
position text with multiple text styles, calculate the insertion point,
handle bidirectional and foreign langauge text, and divide a paragraph
into lines.
Monica Pawlan is a staff writer on the JDC team.
She has a background in 2D and 3D graphics, security, database
products, and loves to explore emerging technologies.
monica.pawlan@eng.sun.com
Reader Feedback
Tell us what you think of this article.