I have a JTable built using DefaultModel which is displayed in JPane but I would like to re-size the table to make it bigger. Could any one please explain how I could do tha
Using setPreferredSize() is problematic. Because JTable implements Scrollable, overriding getPreferredScrollableViewportSize() to return a multiple of getRowHeight() may be a better approach.