File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes setting font for applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "setting font for applet" Watch "setting font for applet" New topic

setting font for applet

kumar mars
Ranch Hand

Joined: Jun 04, 2001
Posts: 34
i have a web page with an applet in it
the applet has some text that is in local language
i have to set the font for the text to be displayed properly.
i am using applets paint method to display the text,
i tried with g.setFont().
the font is getting recognised and the text is coming only in English font.
please help me out
i tried even with text area added to applet but no use
anticipating an early reply

Rupal Rshah

Joined: Aug 13, 2010
Posts: 19
Did you get any solution for it? If so, please do the favor of posting the solution.

With Regards & Thanks

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46405
Yes, he probably did, but has forgotten in the intervening ten years.
I agree. Here's the link:
subject: setting font for applet
It's not a secret anymore!