When i try to hide the rows in a jTable, the jTable ScrollPanel need to adjust its size to remaining rows and, other components in the Frame also adjust to the change. i.e., there shouldn't be any space between the components and the jTable after hiding the table-rows..
ex: in microsoft excel, when we delete a row, the remaining rows will move upwards to fill the deleted row..
Please help me.. Thank you..
Edited: Used a model that extends AbstractTableModel. Used RowFilter to hide the rows. Problem is even when the rows disapper, the JScrollpane(where the JTable resides) wont get adjusted to the remaining rows..