• Post Reply Bookmark Topic Watch Topic
  • New Topic

JEditorpane adds spaces  RSS feed

 
Steve Wood
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 adding loads of spaces in the text/html?
Thanks in advance,
Steve
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!