I'm trying to take over keylistening in the ROI manager window, removing via RoiManager.removeKeyListener and adding my own via RoiManager.addKeyListener does not appear to work. Any suggestions?
KeyListener[] listers=manager.getKeyListeners();
for (int i=0; i<listers.length; i++) manager.removeKeyListener(listers[i]);
manager.addKeyListener(this);
-Sean
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html