File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to set default font JEditorPane

 
Sanjeev Charla
Ranch Hand
Posts: 90
Firefox Browser Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to set default font JEditorPane with html editor kit installed??
 
Tony Docherty
Bartender
Pie
Posts: 2878
59
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The font used will be taken from the HTML or associated style sheet.

A quick google found this article on how to set it to the system font:
http://explodingpixels.wordpress.com/2008/10/28/make-jeditorpane-use-the-system-font/
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic