[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: BasicTableUI fix
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: BasicTableUI fix |
Date: |
Fri, 28 Oct 2005 14:46:56 +0000 |
This fixes some rendering issues as well as some other stuff in JTable.
2005-10-28 Roman Kennke <address@hidden>
* javax/swing/plaf/basic/BasicTableUI.java
(MouseInputHandler.mouseDragged): Only react if table is enabled.
(MouseInputHandler.mousePressed): Only react if table is enabled.
(MouseInputHandler.mouseReleased): Only react if table is enabled.
(PropertyChangeHandler): New inner class. Updates the state of
the table if the model property changes.
(installDefaults): Don't load the highlightCellBorder here. This
is done in the cell renderer now.
(installListeners): Install the new PropertyChangeListener.
(uninstallListeners): Uninstall the new PropertyChangeListener.
(paintCell): Fixed determination of the selected and focused state
of the cell. Removed handling of the border (this is moved into
the cell renderer).
(paint): Fixed the rectangle calculation of the cell. Fixed
painting
of the grid.
/Roman
BasicTableUI.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: BasicTableUI fix,
Roman Kennke <=