This accompanies the Mauve test gnu.testlet.javax.swing.JEditorPane.ViewType. JEditorPane uses a WrappedPlainView, not a PlainView.
2005-11-17 Anthony Balkissoon <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicEditorPaneUI.java: (create): Create new WrappedPlainView instance instead of PlainView. --Tony
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 [EMAIL PROTECTED] 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); } /**
_______________________________________________ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches