Well, I did not change the default font. I have tried the default look and feel and the Windows look and feel, both had the same problems. The problems only happen when I am using the applet on the browser: it does not happen when the applet is running on AppletViewer.
About the Font, I haven't changed it, since I am using:
I tried using
getFont() from JApplet, but it returns
null, however, when I try (using Windows look and feel):
then I get:
Console wrote:javax.swing.plaf.FontUIResource[family=Tahoma,name=Tahoma,style=plain,size=11]
both on browser and on AppletViewer.
Ulf Dittmer wrote:Are you talking about the dialog title or the dialog contents?
The contents.
As an addition (and I am editing the post because of this), I tried the call:
and got a
true as a result.