A JTextArea\'s tab size can easily be set using setTabSize(int).
JTextArea
setTabSize(int)
Is there a similar way to do it with a JEditorPane?
JEditorPane
R
Took me a while to figure this out. And decided to use TabStop's in a TabSet that have calculated width based on the font size. This has to be reset when ever the font size changes (in the paint() method of the JEditPane).
Complicated stuff! :(