RFR: 8341453: java/awt/a11y/AccessibleJTableTest.java fails in some cases where the test tables are not visible
Phil Race
prr at openjdk.org
Thu Oct 17 18:56:21 UTC 2024
On Wed, 16 Oct 2024 18:37:23 GMT, Manukumar V S <mvs at openjdk.org> wrote:
> This issue can be fixed by setting the preferred scrollable viewport size of the two tables using
> JTable table = new JTable(data, columnNames);
> + table.setPreferredScrollableViewportSize(table.getPreferredSize());
> JTable secondTable = new JTable(data, columnNames);
> + secondTable.setPreferredScrollableViewportSize(secondTable.getPreferredSize());
>
> The other changes in imports section are just re-arrangements and expansion of imports.
>
> Testing: This is a manual test and it is tested and verified manually in my local system
> Screenshots of before and after the fix are attached in the bug.
"+ "Using mouse drag the header of the last culumn so the last column becomes the first one.""
culumn -> column
And would it be better to use PassFailJFrame for this test ?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21549#issuecomment-2420300778
More information about the client-libs-dev
mailing list