Index: javax/swing/plaf/basic/BasicEditorPaneUI.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/basic/BasicEditorPaneUI.java,v retrieving revision 1.5 diff -u -r1.5 BasicEditorPaneUI.java --- javax/swing/plaf/basic/BasicEditorPaneUI.java 29 Jul 2005 14:13:09 -0000 1.5 +++ javax/swing/plaf/basic/BasicEditorPaneUI.java 17 Nov 2005 19:00:48 -0000 @@ -44,8 +44,8 @@ import javax.swing.text.EditorKit; import javax.swing.text.Element; import javax.swing.text.JTextComponent; -import javax.swing.text.PlainView; import javax.swing.text.View; +import javax.swing.text.WrappedPlainView; /** * The UI class for address@hidden JEditorPane}s. @@ -81,7 +81,7 @@ // place this doesn't make much sense. public View create(Element elem) { - return new PlainView(elem); + return new WrappedPlainView(elem); } /**