change tab size in JEditorPane

A

Amer Qouneh

Hi,

I am trying to change the size of TAB in an XML source document that
I open in a JEditorPane.
Now, it is 16 spaces I think, and I would like to make it 4.
JEditorPane does not have any public methods to set it to a new value
like JTextArea for example.
Does anyone know how to do this?

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,781
Messages
2,569,616
Members
45,306
Latest member
TeddyWeath

Latest Threads

Top