JAPI pointed me to some errors in our code. I fixed these. Also the
doubleBuffered flag can now be removed from JRootPane since all swing
components are now double buffered.
2005-09-22 Roman Kennke <[EMAIL PROTECTED]>
* javax/swing/JApplet.java
(accessibleContext): Made field protected as specified.
* javax/swing/JButton.java
(accessibleContext): Removed field. The inherited JComponents
accessibleContext field should be used instead.
* javax/swing/JLabel.java
(accessibleContext): Removed field. The inherited JComponents
accessibleContext field should be used instead.
* javax/swing/JRootPane.java
(JRootPane): Removed unnecessary setDoubleBuffered() call.
/Roman
Index: javax/swing/JApplet.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JApplet.java,v
retrieving revision 1.20
diff -u -r1.20 JApplet.java
--- javax/swing/JApplet.java 7 Sep 2005 16:05:14 -0000 1.20
+++ javax/swing/JApplet.java 22 Sep 2005 14:43:40 -0000
@@ -73,6 +73,11 @@
}
}
+ /**
+ * The accessible context for this <code>JApplet</code>.
+ */
+ protected AccessibleContext accessibleContext;
+
private static final long serialVersionUID = 7269359214497372587L;
protected JRootPane rootPane;
@@ -88,11 +93,6 @@
* to the content pane for this container
*/
private boolean initStageDone = false;
-
- /**
- * The accessible context for this <code>JApplet</code>.
- */
- AccessibleContext accessibleContext;
public JApplet()
{
Index: javax/swing/JButton.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JButton.java,v
retrieving revision 1.21
diff -u -r1.21 JButton.java
--- javax/swing/JButton.java 21 Jul 2005 14:59:31 -0000 1.21
+++ javax/swing/JButton.java 22 Sep 2005 14:43:40 -0000
@@ -75,9 +75,6 @@
boolean def;
boolean is_def;
- /** The AccessibleContext for this JButton. */
- AccessibleJButton accessibleContext;
-
public JButton()
{
this(null, null);
Index: javax/swing/JLabel.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JLabel.java,v
retrieving revision 1.25
diff -u -r1.25 JLabel.java
--- javax/swing/JLabel.java 21 Jul 2005 14:59:31 -0000 1.25
+++ javax/swing/JLabel.java 22 Sep 2005 14:43:40 -0000
@@ -331,9 +331,6 @@
/** The gap between the icon and the text. */
private transient int iconTextGap = 4;
- /** The accessible context for this JLabel. */
- private AccessibleJLabel accessibleContext;
-
/**
* Creates a new vertically centered, horizontally on the leading edge
* JLabel object with text and no icon.
Index: javax/swing/JRootPane.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JRootPane.java,v
retrieving revision 1.28
diff -u -r1.28 JRootPane.java
--- javax/swing/JRootPane.java 19 Sep 2005 19:52:02 -0000 1.28
+++ javax/swing/JRootPane.java 22 Sep 2005 14:43:40 -0000
@@ -504,7 +504,6 @@
getGlassPane();
getLayeredPane();
getContentPane();
- setDoubleBuffered(true);
updateUI();
}
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches