ColumnInfo () { return new ColumnInfo("TITLE") { @Override public @Nullable Object valueOf(Object o) { if (o instanceof SettingsTreeNode) { return ((SettingsTreeNode) o).getTitle(); } else { return o.toString(); } } @Override public Class getColumnClass() { return TreeTableModel.class; } }; }