Test fails in macos27 suggesting the drag didn't happen properly..Test was 
supposed to drag 1st column header "A" to last column header "E" and expects 
the final output to be "A" after drag completion but it gets 
`java.lang.RuntimeException: Unexpected header's value; index = 4 value = E`

It seems to be a macos issue as seen in 
[JDK-8322653](https://bugs.openjdk.org/browse/JDK-8322653) whereby mouse clicks 
are not received within 3 pixels of windows boundary and test uses 
`robot.mouseMove(point.x + 3, point.y + 3)`

Fix is made to start the drag operation from center of 1st header cell till 
center of last header cell 



---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - 8396623: [macos27] javax/swing/JTableHeader/6884066/bug6884066.java test 
fails

Changes: https://git.openjdk.org/jdk/pull/33738/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33738&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8396623
  Stats: 13 lines in 1 file changed: 7 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/33738.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33738/head:pull/33738

PR: https://git.openjdk.org/jdk/pull/33738

Reply via email to