Wait for PlugIn dialog is closed
Posted by
jumpfunky on
Jan 21, 2016; 1:31pm
URL: http://imagej.273.s1.nabble.com/Wait-for-PlugIn-dialog-is-closed-tp5015424.html
Dear list,
I'm using a java plugin which extends the interface "PlugIn".
This plugins opens a simple swing ui were you can make some settings
and then press OK and the settings are saved and the dialog is closed.
Now I would like tp use the plugin in a following manner:
ImageJ is started by console and runs the following macro:
run("Settings Manager");
run("Quit")
However, the Settings Manager is started but then imagej is closed.
But I want that the run("Quit") command is not applied until the user
pressed "OK" in the settins manager.
Any ideas?
Cheers,
Thorsten
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html