classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: removed superfluous method in javax.swing.AbstractButt


From: Roman Kennke
Subject: [cp-patches] FYI: removed superfluous method in javax.swing.AbstractButton
Date: Wed, 18 May 2005 17:20:23 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021204

2005-05-18  Roman Kennke  <address@hidden>

       * javax/swing/AbstractButton.java
       (isFocusTraversable): According to Suns API documentation this
       method is not implemented in this class. Also the
       implementation did not add any value. Removed.


/Roman


Index: javax/swing/AbstractButton.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/AbstractButton.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- javax/swing/AbstractButton.java     13 May 2005 11:51:11 -0000      1.28
+++ javax/swing/AbstractButton.java     18 May 2005 15:19:10 -0000      1.29
@@ -1346,18 +1346,6 @@
   }
 
   /**
-   * Return the button's "focusTraversable" property. This property controls
-   * whether or not the button can receive focus when the user attempts to
-   * traverse the focus hierarchy.
-   *
-   * @return The current "focusTraversable" property
-   */
-  public boolean isFocusTraversable()
-  {
-    return true;
-  }
-
-  /**
    * Verifies that a particular key is one of the valid constants used for
    * describing horizontal alignment and positioning. The valid constants
    * are the following members of address@hidden SwingConstants}:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]