On a Windows system, to check what are the fonts available, go in the Font applet in the Parameters folder. Choose a font and doubleclick on it. Check the name of the font. For example, on my system, I have a font called Kaufmann, the real name is "Kaufmann BT". To be able to use this font, I add the following line in the properties.font file in the section called # for backword compatibility.
Kaufmann.0=Kaufmann BT, ANSI_CHARSET
setFont(new Font("Kaufmann", Font.BOLD, 20));
[JDK1.5]
@todo
Written and compiled by Réal Gagnon ©1998-2005
[ home ]