The test fails because it clicks at the wrong location when focusing a table 
cell. It attempts to click the center of the table instead of the center of the 
cell.

The center of the table works on Ubuntu 24.04:
<img width="515" height="63" alt="image" 
src="https://github.com/user-attachments/assets/ce7e0621-3658-479e-87f2-c66aef416138";
 />


However, it doesn't work on Oracle Linux 9:
<img width="524" height="70" alt="image" 
src="https://github.com/user-attachments/assets/84aef905-95a4-4767-bbf8-d125caca16d5";
 />

On OL9, the frame title is shorter, which shifts the cell so that it is no 
longer rendered at the center of the table.




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

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

Commit messages:
 - 8390288: The javax/swing/JTable/7124218/SelectEditTableCell.java fails on 
OL9.5

Changes: https://git.openjdk.org/jdk/pull/32332/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32332&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8390288
  Stats: 14 lines in 1 file changed: 4 ins; 2 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/32332.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32332/head:pull/32332

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

Reply via email to