[Patch][gui] JFormattedTextField

Michael Koch konqueror@gmx.de
Thu Dec 30 15:48:00 GMT 2004


Hi list,


I just commited the attached patch to fix two typos in
javax.swing.JFormattedTextField.


Michael


2004-12-30  Michael Koch  <konqueror@gmx.de>

	* javax/swing/JFormattedTextField.java
	(getFocusLostBehavior): Fixed typo in method name.
	(setFocusLostBehavior): Likewise.

-------------- next part --------------
Index: javax/swing/JFormattedTextField.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JFormattedTextField.java,v
retrieving revision 1.10
diff -u -r1.10 JFormattedTextField.java
--- javax/swing/JFormattedTextField.java	29 Dec 2004 11:15:02 -0000	1.10
+++ javax/swing/JFormattedTextField.java	30 Dec 2004 09:27:14 -0000
@@ -199,7 +199,7 @@
     throw new InternalError ("not implemented");
   }
 
-  public int getFocusLostBehaviour ()
+  public int getFocusLostBehavior()
   {
     return focusLostBehavior;
   }
@@ -252,7 +252,7 @@
     super.setDocument(newDocument);
   }
 
-  public void setLostFocusBehavior (int behavior)
+  public void setFocusLostBehavior(int behavior)
   {
     if (behavior != COMMIT
 	&& behavior != COMMIT_OR_REVERT


More information about the Java-patches mailing list