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

(-)main/src/org/netbeans/modules/subversion/ui/diff/MultiDiffView.java (-2 / +5 lines)
Lines 64-70 Link Here
64
    /** currentDifference property holder */
64
    /** currentDifference property holder */
65
    private int currentDifference;
65
    private int currentDifference;
66
66
67
    private final PropertyChangeSupport support = new PropertyChangeSupport(this);
67
    private PropertyChangeSupport support;
68
68
69
    /** Container that defines width. */
69
    /** Container that defines width. */
70
    private final Component parent;
70
    private final Component parent;
Lines 273-279 Link Here
273
        return views[0].getToolBar();
273
        return views[0].getToolBar();
274
    }
274
    }
275
275
276
    public void addPropertyChangeListener(PropertyChangeListener l) {
276
    public synchronized void addPropertyChangeListener(PropertyChangeListener l) {
277
        if (support == null) {
278
            support = new PropertyChangeSupport(this);
279
        }
277
        support.addPropertyChangeListener(l);
280
        support.addPropertyChangeListener(l);
278
    }
281
    }
279
282

Return to bug 85316