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.
}
protected void updateHeader() {
DefaultTableColumnModel dtcm = new DefaultTableColumnModel();
TableColumnModel dtcm = createDefaultColumnModel();
DBColumn[] columns = getModel().getColumns();
import java.util.Comparator;
import javax.swing.table.TableModel;
import javax.swing.table.TableRowSorter;
import org.jdesktop.swingx.sort.TableSortController;
/**
* RowSorter that falls back to comparing values by their string representation
* ResultSetJXTable are sorted and different types are present (for example
* string and date)
*/
public class StringFallbackRowSorter extends TableRowSorter<TableModel> {
public class StringFallbackRowSorter extends TableSortController<TableModel> {
public StringFallbackRowSorter() {