On Thu, 2006-05-04 at 14:13 +0200, Roman Kennke wrote:
> The attached patch fixes a couple of issues in JTables:
> - the border color for selected cells was not correct in the Metal L&F
> - the table was not painted correctly. The grid must be painted to the
> right and bottom of each cell, we painted it to the top and left
> - related to the previous, the cells have been mis-aligned
> 
> 2006-05-04  Roman Kennke <[EMAIL PROTECTED]>
> 
>         * javax/swing/JTable.java
>         (moveToCellBeingEdited): Adjust bounding box of editing
> component
>         to exactly cover the grid.
>         * javax/swing/plaf/basic/BasicTableUI.java
>         (paint): Paint grid to the bottom and right of the cells instead
>         of left and top. Adjust bounding box of cells accordingly.
>         * javax/swing/plaf/metal/MetalLookAndFeel.java
>         (initComponentDefaults): Fixed color of JTable selection border.
>         * javax/swing/plaf/metal/OceanTheme.java
>         (addCustomEntriesToTable): Fixed color of JTable selection
> border.
> 
> /Roman

Committed to the release branch.
-- 
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

If you use Microsoft Office, support movement towards the end of vendor
lock-in:
http://opendocumentfellowship.org/petition/

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to