Login  Register

How to close a pluginTool instance?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

How to close a pluginTool instance?

jialei
2 posts
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