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

(-)a/api.visual/src/org/netbeans/api/visual/graph/layout/GraphLayout.java (-1 / +3 lines)
Lines 100-106 Link Here
100
     */
100
     */
101
    public final void removeGraphLayoutListener (GraphLayoutListener<N,E> listener) {
101
    public final void removeGraphLayoutListener (GraphLayoutListener<N,E> listener) {
102
        synchronized (listeners) {
102
        synchronized (listeners) {
103
            listeners.add (listener);
103
            // .add replaced with .remove for fix to bug http://netbeans.org/bugzilla/show_bug.cgi?id=197502
104
            // listeners.add (listener);
105
            listeners.remove (listener);
104
        }
106
        }
105
    }
107
    }
106
108

Return to bug 197502