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

(-)a/cnd.debugger.common2/src/org/netbeans/modules/cnd/debugger/common2/debugger/ToolTipView.java (-10 / +7 lines)
Lines 92-98 Link Here
92
    
92
    
93
    private static RequestProcessor RP = new RequestProcessor(ToolTipView.class.getName());
93
    private static RequestProcessor RP = new RequestProcessor(ToolTipView.class.getName());
94
    
94
    
95
    private ActionListener listener;
95
    private volatile ActionListener listener;
96
    public static final int ON_DISPOSE = 0;
96
    public static final int ON_DISPOSE = 0;
97
    
97
    
98
    public static ToolTipView getDefault() {
98
    public static ToolTipView getDefault() {
Lines 137-152 Link Here
137
    }
137
    }
138
    
138
    
139
    @Override
139
    @Override
140
    public void setVisible(boolean aFlag) {
140
    public void removeNotify() {
141
        super.setVisible(aFlag);
141
        if (listener != null) {
142
        if (!aFlag) {
142
            listener.actionPerformed(new ActionEvent(this, ON_DISPOSE, null));
143
            if (listener != null) {
143
            listener = null;
144
                listener.actionPerformed(new ActionEvent(this, ON_DISPOSE, null));
145
                listener = null;
146
            }
147
        }
144
        }
148
    }
145
    }    
149
   
146
150
    public static final class VariableNode extends AbstractNode {
147
    public static final class VariableNode extends AbstractNode {
151
148
152
        private Variable v;
149
        private Variable v;

Return to bug 255994