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

Manukumar V S mvs at openjdk.org
Mon Oct 21 10:19:37 UTC 2024


> 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.

Manukumar V S has updated the pull request incrementally with one additional commit since the last revision:

  Review comments fixed : Copyright year added, re-arranged imports, removed author tag

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21549/files
  - new: https://git.openjdk.org/jdk/pull/21549/files/d4d83388..127c7dcc

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=21549&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21549&range=01-02

  Stats: 14 lines in 1 file changed: 6 ins; 7 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/21549.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21549/head:pull/21549

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


More information about the client-libs-dev mailing list