Space « JEditorPane « Java Swing Q&A





1. JEditorPane - make tabs spaces    stackoverflow.com

I'm wondering if there's a way to have tabs convert to spaces in a jeditorpane, much like you'd see when working in an IDE. I don't want to set the tab ...

2. JEditorpane adds spaces    coderanch.com

I am using the editor pane to create a text editor which is compatible with the web. When I getText() from the editor, it comes out as HTML, but adds a lot of spaces to the text. These seem to be added by the editor pane for some reason. My question: Is there any way to stop the editor pane from ...