I want to insert the above text in the same way as it looks above in jtextpane.I would be copying the mentioned format of data from ms word,website and would be inserting it in jtextpane.When i copy the text in jtextpane the bullets disappear.I dont want the bullets to disappear .Can anyone please guide me.I dont want to use a html editor kit.

b) If I Google about JTextPane, it seems it is already difficult enough to use bullet lists inside it programmatically without copy/pasting content into it. I think you ask too much from this aging component in an aging windowing toolkit