On Wed, 16 Oct 2024 18:37:23 GMT, Manukumar V S <m...@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.

This pull request has now been integrated.

Changeset: f1f15370
Author:    Manukumar V S <m...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/f1f15370fa26e4c1121abadb8938c0126c6f4f24
Stats:     22 lines in 1 file changed: 10 ins; 6 del; 6 mod

8341453: java/awt/a11y/AccessibleJTableTest.java fails in some cases where the 
test tables are not visible

Reviewed-by: abhiscxk, asemenov

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

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

Reply via email to