|
Hi,
I'm writing a imagej PlugInTool in java. If I click the tool item from menu again, another instance will be created and the listeners' overrides will be done twice every time. How to prevent this and make the tool in a singleton manner?
Thanks and regards,
Jia Lei
|