void (String fileName) { String oldValue = this.fileName; if (oldValue != null && !oldValue.equals(fileName) || oldValue == null && fileName != null) { this.fileName = fileName; firePropertyChange(FILE_NAME_PROP, oldValue, this.fileName); } }