Java AWT Text
by, 03-04-2012 at 04:38 PM (489 Views)
Text rendering capabilities are provided by the Java 2D API. These methods are included:
- Rendering Strings
- Text layouts are performed
- Entire classes to set the font attributes
Graphic class’s drawstring method is used to draw the static string. To render directly, this would be the direct approach. SetFont method is used for specification.
Java 2D Layout class is used to do the implementation of text editing routines. Also, it might help you to have the control of text layout.