In RepaintManager.addInvalidComponent we should really also consider the component itself and ask if it is a validateRoot. Up to now we started with the component's parent.
2006-02-22 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/RepaintManager.java (addInvalidComponent): Also consider the component itself. /Roman
Index: javax/swing/RepaintManager.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/RepaintManager.java,v retrieving revision 1.24 diff -u -r1.24 RepaintManager.java --- javax/swing/RepaintManager.java 13 Feb 2006 22:29:04 -0000 1.24 +++ javax/swing/RepaintManager.java 22 Feb 2006 09:51:06 -0000 @@ -343,7 +343,7 @@ */ public void addInvalidComponent(JComponent component) { - Component ancestor = component.getParent(); + Component ancestor = component; while (ancestor != null && (! (ancestor instanceof JComponent)