Hello,

I have also recognized this behavior in my own applet, when I want to
create Lables of different sizes.
I have ni idea why the system is loading so long. However, the only
reasonable way fpr my application was to remove the Font again.

Maybe the Font class reads all Fonts available by the operating system,
and that can take a time.

With regards

Frank Oellien

Zak Nixon wrote:

> I am building a GUI and i use the function JLabel.setFont(....);
>
> Whenever I build it, it takes forever to load, but if I dont set the
> font, it pops right up.
>
> Can anyone explain this or tell me where I can find/ask the answer?
>
>
>
> -Zak
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to