wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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: 38075
    
  22
Yes, he probably did, but has forgotten in the intervening ten years.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: setting font for applet
 
Similar Threads
JSpinner question
Unicode Subscript issue (Khmer Script)
Problem in changing the font
font in chinese operating system
Setting label font and text color