[cp-patches] FYI: JTable fix

Roman Kennke kennke at aicas.com
Fri Jun 2 13:33:23 UTC 2006


This fixes the calculation of the repaint rectangle when column
selection changes for some special cases.

2006-06-02  Roman Kennke <kennke at aicas.com>

        * javax/swing/JTable.java
        (columnSelectionChanged): Don't return when there's only one
        column (might still need repainting). Correctly calculate
        repaint rectangle.
        (valueChanged): Use return value of SwingUtilities.computeUnion
        as dirty region.

/Roman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 3986 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060602/3ddf239a/patch.bin


More information about the Classpath-patches mailing list