This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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: 39072
Yes, he probably did, but has forgotten in the intervening ten years.
GeeCON Prague 2014
subject: setting font for applet