[gui] [PATCH] FIxes in RepaintManager, and others

David Jee djee@redhat.com
Wed Jun 30 21:24:00 GMT 2004


Hello,

I committed the following patch to the java-gui-branch.  It fixes
java.swing.RepaintManager.addInvalidComponent(), so that it correctly
finds the first isValidateRoot() ancestor, and marks it as invalidate.

The patch also fixes java.awt.GridBagLayout.ArrangeGrid(), so that it
uses the components' preferred sizes, rather than their minimum sizes.

The patch also includes a small reindentation fix in
javax.swing.AbstractButton.

-David Jee

2004-06-30  David Jee  <djee@redhat.com>

        * java/awt/GridBagLayout.java
        (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
        * javax/swing/AbstractButton.java
        (setText): Reindent.
        * javax/swing/RepaintManager.java
        (addInvalidComponent): Find the first ancestor that isValidateRoot().


-------------- next part --------------
A non-text attachment was scrubbed...
Name: SwingRepaintManager.patch
Type: text/x-patch
Size: 2403 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040630/83bc1c9f/attachment.bin>


More information about the Java-patches mailing list