JDK-6388055 : GTK L&F: JTable vertical grid lines aren't repainted when used with INSERT drop modes in RTL
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-02-20
  • Updated: 2010-04-02
  • Resolved: 2006-03-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b76Fixed
Description
When a JTable is in drop mode that supports inserting cols, and the table is in RTL component orientation, grid lines aren't repainted after being highlighted to show the drop location.

- Compile and run the attached TableTest.java
- Drag from the component labeled "Drag from here" into the table
- Drag between the two columns farthest to the right, to show the line indicating the drop location
- Release the mouse
- Notice that the grid line isn't repainted.

Comments
EVALUATION This should teach us a lesson about maintaining two similar places with the same code. Changes made to fix BasicTableUI to fix this issue were not made to similar code in SynthTableUI. I'll make them now.
20-02-2006