This is actually a JTextPane method. I don't imagine it would be too hard to write an equivalent for JEditorPane, though. Also, JTextPane has access to the HTMLEditorKit, too so I think it makes...
Type: Posts; User: helloworld922
This is actually a JTextPane method. I don't imagine it would be too hard to write an equivalent for JEditorPane, though. Also, JTextPane has access to the HTMLEditorKit, too so I think it makes...
I found an article concerning a similar topic (the solution is the last post, with an in-depth discussion at the link in the second to last post):
how can I change the Tab size of JTextPane ?
...
Is there a way to set the tab size (either in pixels or space units) for JEditorPane's? I'm using an HTMLDocument, so it doesn't matter if the tab size is set via css styling or from the program...