RFR: 8236907: JTable added to nested panels does not paint last visible row [v4]

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Mon Feb 21 05:54:24 UTC 2022


On Mon, 21 Feb 2022 05:50:13 GMT, Tejesh R <duke at openjdk.java.net> wrote:

>> Issue in painting last row of JTable due to decrement in `MaxRow `during computation. Differences in `MaxRow `computation between `TablePrintable` and `BasicTableUI `class. The Bug is fixed in both the classes. Test Case added to validate the same.
>
> Tejesh R has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8236907: JTable added to nested panels does not paint last

test/jdk/javax/swing/JTable/8236907/LastVisibleRow.java line 80:

> 78:             testRobot.waitForIdle();
> 79:             CaptureAfterClick();
> 80: 

You added a delay after CaptureBeforeClick(), similar delay needs to be added after CaptureAfterClick
Normally robot delay, waitForIdle calls needs to be called outside EDT

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

PR: https://git.openjdk.java.net/jdk/pull/7422



More information about the client-libs-dev mailing list