|
|
|
|
|
|
|
|
|
|
|
|
|
|
JAVA APPLET
Determining Fonts The AWT supports multiple fonts. Fonts have emerged from the domain of traditional typesetting to become an important part computer based generated documents and displays. When working with fonts, often you need to know which fonts are available on your computer. To obtain this information, you can use getAvailableFontFamilyNames() method. It is shown here. String[ ] getAvailableFontFamilyNames() This methods return an array of strings that contains the names of available fonts. Here is an example to show this
|
|
||||||||
|
|
||||||||||
|
|
||||||||||
|
|
||||||||||
|
|