How can I implement Bulleted lists using JTextPane?

Sandip Chitale

The JTextPane is also a JEditorPanel. Therefore you could do

tp.setContentType("text/html");

and then use the HTML unordered list syntax to achive the desired result.

In fact you can use most of the html syntax including images etc.

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

 

 

 

 

 


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

 

 

About | Sitemap | Contact