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

Forum statistics

Threads
474,001
Messages
2,570,255
Members
46,853
Latest member
GeorgiaSta

Latest Threads

Top