RFR: 8236907: JTable added to nested panels does not paint last visible row
Tejesh R
duke at openjdk.java.net
Fri Feb 18 12:21:55 UTC 2022
On Fri, 18 Feb 2022 05:04:52 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> 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.
>
> test/jdk/javax/swing/JTable/8236907/LastVisibleRow.java line 83:
>
>> 81: CaptureAfterClick();
>> 82:
>> 83: if (!compare(bufferedImageBefore, bufferedImageAfter)) {
>
> You probably need to wait a little using robot.delay() after you capture the bufferedimage and then do the comparison.
> I hope you have ran this test on CI on all platforms.
Yeah, I've run CI on all platforms, all have passed.
https://mach5.us.oracle.com/mdash/jobs/tejer-jdk-20220217-0621-29214728?search=result.status%3APASSED
-------------
PR: https://git.openjdk.java.net/jdk/pull/7422
More information about the client-libs-dev
mailing list