How can I deactivate/avoid lines being wrapped around inside a JTextPane?
This is what usually will happen once I enter text into the pane and the horizontal space is not enough:
I would like to avoid the second line and continue writing in one single line (even without a scroll bar) where I can navigate using the arrow keys (left/right).