Online Software Educational Training - IT Tutorials - Online Education Training for Computer Software


Home

JAVA APPLET

Applying Fonts

 Creating and Selecting a Font

To select a new font, you must first construct a Font object that describes that font. It is showm here

Font(String fontName, int fontStyle, int size)

Here is an example code to applying fonts and their styles






Previous

Next