[Patch][gui] DefaultEditorKit

Michael Koch konqueror@gmx.de
Tue Jan 11 13:37:00 GMT 2005


Hi list,


I just commited the attached patch to remove 2 wrong methods in
javax.swing.text.DefaultEditorKit.

2005-01-11  Michael Koch  <konqueror@gmx.de>

	* javax/swing/text/DefaultEditorKit.java
	(deinstall): Removed.
	(install): Likewise.

-------------- next part --------------
Index: javax/swing/text/DefaultEditorKit.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/DefaultEditorKit.java,v
retrieving revision 1.11
diff -u -r1.11 DefaultEditorKit.java
--- javax/swing/text/DefaultEditorKit.java	10 Jan 2005 18:16:15 -0000	1.11
+++ javax/swing/text/DefaultEditorKit.java	11 Jan 2005 13:34:41 -0000
@@ -50,7 +50,6 @@
 import java.io.Writer;
 
 import javax.swing.Action;
-import javax.swing.JEditorPane;
 
 public class DefaultEditorKit extends EditorKit
 {
@@ -336,17 +335,6 @@
     },
   };
 
-  /**
-   * Called when the kit is being removed from the JEditorPane.
-   */
-  public void deinstall(JEditorPane c)
-  {
-  }
-
-  public void install(JEditorPane c)
-  {
-  }
-
   public Caret createCaret()
   {
     return new DefaultCaret();


More information about the Java-patches mailing list