This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 230064
Collapse All | Expand All

(-)db.dataview/src/org/netbeans/modules/db/dataview/table/ResultSetJXTable.java (-1 / +1 lines)
Lines 252-258 Link Here
252
    }
252
    }
253
253
254
    protected void updateHeader() {
254
    protected void updateHeader() {
255
        DefaultTableColumnModel dtcm = new DefaultTableColumnModel();
255
        TableColumnModel dtcm = createDefaultColumnModel();
256
256
257
        DBColumn[] columns = getModel().getColumns();
257
        DBColumn[] columns = getModel().getColumns();
258
258
(-)db.dataview/src/org/netbeans/modules/db/dataview/table/StringFallbackRowSorter.java (-2 / +2 lines)
Lines 43-49 Link Here
43
43
44
import java.util.Comparator;
44
import java.util.Comparator;
45
import javax.swing.table.TableModel;
45
import javax.swing.table.TableModel;
46
import javax.swing.table.TableRowSorter;
46
import org.jdesktop.swingx.sort.TableSortController;
47
47
48
/**
48
/**
49
 * RowSorter that falls back to comparing values by their string representation
49
 * RowSorter that falls back to comparing values by their string representation
Lines 53-59 Link Here
53
 * ResultSetJXTable are sorted and different types are present (for example
53
 * ResultSetJXTable are sorted and different types are present (for example
54
 * string and date)
54
 * string and date)
55
 */
55
 */
56
public class StringFallbackRowSorter extends TableRowSorter<TableModel> {
56
public class StringFallbackRowSorter extends TableSortController<TableModel> {
57
57
58
    public StringFallbackRowSorter() {
58
    public StringFallbackRowSorter() {
59
    }
59
    }

Return to bug 230064