This fixes another accessibility problem that shows up in the SwingSet2
demo. Now it starts up completely, and .. it's really funky. Try it
out. It mostly Just Works! :-D

2006-03-13  Roman Kennke  <[EMAIL PROTECTED]>

        * javax/swing/AbstractButton.java
        (AbstractAccessibleButton.getAccessibleRelationSet): Return
super....()
        instead of null.

/Roman
Index: javax/swing/AbstractButton.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/AbstractButton.java,v
retrieving revision 1.50
diff -u -r1.50 AbstractButton.java
--- javax/swing/AbstractButton.java	27 Jan 2006 10:10:00 -0000	1.50
+++ javax/swing/AbstractButton.java	13 Mar 2006 15:21:05 -0000
@@ -405,7 +405,8 @@
 
     public AccessibleRelationSet getAccessibleRelationSet()
     {
-      return null; // TODO
+      // TODO: What should be modified here?
+      return super.getAccessibleRelationSet();
     }
 
     public AccessibleAction getAccessibleAction()
@@ -1139,7 +1140,6 @@
   {
     if (borderPainted == b)
       return;
-    
     boolean old = borderPainted;
     borderPainted = b;
     firePropertyChange(BORDER_PAINTED_CHANGED_PROPERTY, old, b);

Reply via email to