Name: vi73552 Date: 03/11/99
I would like a way to get the event listeners of a component, so that they can be removed dynamically...
i.e.
my_Circle.addMouseMotionListener( new MouseMotionListener()
{ public void mouseDragged( MouseEvent event)
{ ... };
...
});
// then when necessary:
MouseMotionListener temp = my_Circle.getMouseMotionListener();
// the method ------------------------^
my_Circle.removeListener( temp );
...
// then later on....
my_Circle.addMouseMotionListener( temp );
(Review ID: 54445)
======================================================================