Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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


Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "setting font for applet" Watch "setting font for applet" New topic
Author

setting font for applet

kumar mars
Ranch Hand

Joined: Jun 04, 2001
Posts: 34
hai
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
bye


<BR>
Rupal Rshah
Greenhorn

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

Rupal
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 41528
    
  31
Yes, he probably did, but has forgotten in the intervening ten years.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: setting font for applet