Link to home
Start Free TrialLog in
Avatar of mburrows050897
mburrows050897

asked on

using getFontList()

I'm writing a simple applet in 1.1 and want to get the list of fonts available.  I get a compile-time error using
getFontList();
I can't seem to get the syntax right, or perhaps I'm not including all the java classes I need?
Or just not using this function correctly?
String fontnames[];
fontnames = new String[10];
fontnames = getFontList();
Thanks in advance for finding my goofy mistake!
ASKER CERTIFIED SOLUTION
Avatar of fontaine
fontaine

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mburrows050897
mburrows050897

ASKER

Thanks so much, that works perfectly.  I just couldn't get that right!