Technical Support
Discussion Forum
Online Training
Technical Articles
Bug Parade
JDC Resources
DukeDollars
Early Access Toolbar

Java Cup Logo
java.sun.com


Solaris Developer Connection

JDC Home Page

Log Out

Online Training
shadowSearchFAQFeedback

Training Index
JavaTM 2D:
A Tutorial on Styled Text
By Monica Pawlan

The Java 2D Text APIs are part of the Java Foundation Classes (JFC), and come in the Java Development Kit (JDKTM) 1.2 download. Java 2D Text is fun and easy to use, and you will find a wide range of 2D Text capabilities in the enhanced java.awt.Font class and the new java.awt.font package.

Because the Java 2D Text APIs provide a wealth of functionality, this tutorial focuses on what you need to know to use the java.awt.font.TextLayout class to create exciting, interesting, and interactive styled text in any language supported by the Unicode character set. This is the bulk of the functionality provided by this API, and after going through this tutorial, you should have enough information to explore the remaining functionality on your own.



First Lesson

Course Outline


First Lesson






Questions?
24-Sep-98
Copyright © 1996-1998 Sun Microsystems Inc.
All Rights Reserved. Legal Terms. Privacy Policy.
Sun Logo