public void removeMouseListener ( MouseListener listener ) { mouseListeners . remove ( listener ) ; mouseListenersToAdd . remove ( listener ) ; if ( ! controllerListeners . contains ( listener ) && ! keyListeners . contains ( listener ) ) { allListeners . remove ( listener ) ; } }
Remove a mouse listener that will no longer be notified