} else if (col == 1) {
} else if (col == 2) {
    public void setValueAt(Object value, int row, int col) {        MapLayer layer = map.getLayer(getRowCount() - row - 1);        if (layer != null) {            if (col == 0) {                Boolean bool = (Boolean)value;                layer.setLocked(bool.booleanValue());            } else if (col == 1) {                Boolean bool = (Boolean)value;                layer.setVisible(bool.booleanValue());            } else if (col == 1) {                layer.setName(value.toString());            }            fireTableCellUpdated(row, col);        }    }