Dear all
I get this code from java.sun. I want to sort my columns tables.
But line 3 and 4 are not working.
I use Netbeans and already add JDK 6 to Netbeans platform.
Any suggestion or information from all of you ??
JTable table = new JTable(new MyTableModel());
table.setPreferredScrollableViewportSize(new Dimension(500, 70));
table.setFillsViewportHeight(true);
table.setAutoCreateRowSorter(true);
Thanks,
Kusno