void (Color color) { Color oldValue = grid.getLineColor(); if (oldValue != null && !oldValue.equals(color) || oldValue == null && color != null) { grid.setLineColor(color); firePropertyChange(GRID_LINE_COLOR_PROP, oldValue, color); } }