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