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 231104
Collapse All | Expand All

(-)openide.nodes/src/org/openide/util/actions/NodeAction.java (-2 / +8 lines)
Lines 611-619 Link Here
611
        }
611
        }
612
612
613
        public void resultChanged(LookupEvent ev) {
613
        public void resultChanged(LookupEvent ev) {
614
            boolean old = enabled;
614
            final boolean old = enabled;
615
            enabled = delegate.enable(nodes());
615
            enabled = delegate.enable(nodes());
616
            support.firePropertyChange(PROP_ENABLED, old, enabled);
616
            Mutex.EVENT.readAccess(new Runnable() {
617
618
                @Override
619
                public void run () {
620
                    support.firePropertyChange(PROP_ENABLED, old, enabled);
621
                }
622
            });
617
        }
623
        }
618
624
619
        public JMenuItem getMenuPresenter() {
625
        public JMenuItem getMenuPresenter() {

Return to bug 231104