1. pre-wrap in a JEditorPane stackoverflow.comI am using a JEditorPane to show styled text and I am also using the |
2. JEditorPane disabling Line Wrap coderanch.comIf anyone is interested I found a fix for this problem in the book: Core Swing Advanced Programming by Kim Topley. It uses the same technique above for overriding the default getScrollableViewportsWidth, but actually fixes a major bug that was causing this to originally fail. I would post it, but I don't have the book handy right now. |
3. wrapping with JEditorPane forums.oracle.com |