Changing charset or font for JEditorPane
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Hao_He
Posted On:   Wednesday, December 18, 2002 06:08 PM

Does anyone know how to set the font for JEditorPane? I've
tried the following without success:

1. setFont(myFont);
2. setContentType("text/html; charset=gb2312");
3. change the I18N property of the associated document to true.

Could someone shine some light on this problem? Highly appreciated.

About | Sitemap | Contact