Hey,
In a previous mauve test, I changed 'focusable' to be set to false (and
not true) in AbstractButton.java. However, for the past couple of days
I have been writing mauve tests and it should in fact be set to true and
only set to false by the other classes (JRadioButtonMenuItem,
JCheckMenuBoxItem, BasicArrowButton, and MetalScrollButton). I will be
posting these classpath patches and mauve tests soon. Can someone
please approve this modication to AbstractButton so that I can commit
it.
Cheers,
Tania
2006-06-15 Tania Bento <[EMAIL PROTECTED]>
* javx/swing/AbstractButton.java:
(AbstractButton): 'Focusable' should be set to true and not
false.
Index: AbstractButton.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/AbstractButton.java,v
retrieving revision 1.59
diff -u -r1.59 AbstractButton.java
--- AbstractButton.java 14 Jun 2006 13:59:27 -0000 1.59
+++ AbstractButton.java 15 Jun 2006 17:14:44 -0000
@@ -866,7 +866,7 @@
borderPainted = true;
contentAreaFilled = true;
focusPainted = true;
- setFocusable(false);
+ setFocusable(true);
setAlignmentX(CENTER_ALIGNMENT);
setAlignmentY(CENTER_ALIGNMENT);
setDisplayedMnemonicIndex(-1);