Gender: Unspecified Location: Registered: Apr 2007 Status: Offline Posts: 9
I am trying to auto resize columns on double clicking the table header margin.
i want to know:-
1> How to capture the double click event on a table header margin. 2> How to then resze the column
Thanks in advance.
Gender: Unspecified Location: Registered: Jul 2003 Status: Offline Posts: 9
dbTable.getTableHeader().addMouseListener(yourMouseListener);
to resize the column, call column.setWidth(newWidth);