Use the setFont() method. To alter the current font, you can call getFont() to retrieve the current font, then deriveFont() with the appropriate parameter to alter that font (see Font (Java Platform...