JDK-6436903 : Swing DnD: Tiny repaint issue with dragging over JTree under Windows L&F
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6,6u1
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,windows_xp
  • CPU: generic,x86
  • Submitted: 2006-06-09
  • Updated: 2017-05-16
  • Resolved: 2011-03-08
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 JDK 7
6u2Fixed 7 b07Fixed
Related Reports
Duplicate :  
Description
When dragging over tree nodes under the Windows L&F, the horizontal dotted lines connecting nodes to the trees are re-painted with pixels missing.

- Compile and run the attached test.
- Switch to the Windows L&F using the combo box in the bottom left.
- Expand the "colors" node.
- Drag from the "Drag from here 0" label at the top, into the tree
- While dragging over each of the nodes "blue", "violet", "red", "yellow",
  notice that the dotted line to the left of the node is repainted with pixels missing.

Comments
EVALUATION There were numerous off-by-one errors in BasicTreeUI. I've fixed these. Additionally, I've made a couple tweaks to metal/windows/Motif UIs so that they: a) look the same in LTR and RTL b) better match the platform
11-12-2006

EVALUATION I filed it, I'll fix it.
09-06-2006