Hi,
here comes the fix for the second repaint/revalidate loop.
2005-06-30 Roman Kennke <[EMAIL PROTECTED]>
* javax/swing/plaf/basic/BasicListUI.java
(damageLayout): Removed call to revalidate(). This caused an
infinite loop with the RepaintManager and is not necessary.
/Roman
Index: javax/swing/plaf/basic/BasicListUI.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/basic/BasicListUI.java,v
retrieving revision 1.20
diff -u -r1.20 BasicListUI.java
--- javax/swing/plaf/basic/BasicListUI.java 30 Jun 2005 18:16:58 -0000 1.20
+++ javax/swing/plaf/basic/BasicListUI.java 30 Jun 2005 20:08:19 -0000
@@ -582,8 +582,6 @@
void damageLayout()
{
updateLayoutStateNeeded = 1;
- if (list != null)
- list.revalidate();
}
/**
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches