How can I change JEditorPane's inter-line spacing?

Sandip Chitale

There may be some clues here -

http://java.sun.com/products/jdk/1.2/docs/api/javax/swing/text/ParagraphView.html#setLineSpacing(float)

You will have to subclass ParagraphView though as this method is protected.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact