• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to set default font JEditorPane

 
Sanjeev Charla
Ranch Hand
Posts: 90
Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to set default font JEditorPane with html editor kit installed??
 
Tony Docherty
Saloon Keeper
Posts: 3144
72
  • 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/
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!