void (Color color) { Color oldValue = chessboard.getWhiteColor(); if (oldValue != null && !oldValue.equals(color) || oldValue == null && color != null) { chessboard.setWhiteColor(color); firePropertyChange(TRANSPARENCY_CHESSBOARD_WHITE_COLOR_PROP, oldValue, color); } }