This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 212255
Collapse All | Expand All

(-)openide.explorer/src/org/openide/explorer/propertysheet/PropertyEnv.java (-1 / +4 lines)
Lines 51-56 Link Here
51
import java.beans.VetoableChangeSupport;
51
import java.beans.VetoableChangeSupport;
52
import java.util.logging.Level;
52
import java.util.logging.Level;
53
import java.util.logging.Logger;
53
import java.util.logging.Logger;
54
import org.openide.DialogDisplayer;
55
import org.openide.NotifyDescriptor;
54
import org.openide.explorer.propertysheet.InplaceEditor.Factory;
56
import org.openide.explorer.propertysheet.InplaceEditor.Factory;
55
57
56
58
Lines 262-268 Link Here
262
            getChange().firePropertyChange(PROP_STATE, null, newState);
264
            getChange().firePropertyChange(PROP_STATE, null, newState);
263
        } catch (PropertyVetoException pve) {
265
        } catch (PropertyVetoException pve) {
264
            // and notify the user that the change cannot happen
266
            // and notify the user that the change cannot happen
265
            PropertyDialogManager.notify(pve);
267
            DialogDisplayer.getDefault().notify(
268
                    new NotifyDescriptor.Message(pve.getLocalizedMessage(), NotifyDescriptor.WARNING_MESSAGE));
266
        }
269
        }
267
    }
270
    }
268
271

Return to bug 212255