public class FontManager
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static java.awt.Font |
getAwtFont(java.lang.String font) |
Get the font for the given fontname.
|
static java.awt.Font |
getStandardFont() |
Get the standard font from the environment, usually Arial or Times New Roman.
|
public static java.awt.Font getStandardFont()
public static java.awt.Font getAwtFont(java.lang.String font)
font
- The name of the font.