Posted by
Joachim Wesner on
URL: http://imagej.273.s1.nabble.com/Pause-in-a-java-plugin-program-tp3697005p3697009.html
Hi list,
as I understand, GenericDialog is basically a modal dialog that you can
fill in with initial values, ask the user to change them and process any
changes only
afte she/he has pressed "OK". However, I also learned you can circumvent
this (partially) by using a DialogListener, to implement previews etc.,
i.e. immediately react to changes.
I would now "envision" a plugin that has a button for.ex. "centered", when
you press this the meaning of certain coordinates in other fields of the
dialog changes, as in Specify ROI,
however I would find it useful, that after any change to that button, the
entries in those fields are changed accordingly, so that they reflect the
**same** selection in the new
coordinate system, i.e. one would need to update Dialog fields from within
the Dialog Listener.
Is this possible, any example code that already does something similar?
Sincerely
Joachim
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit
http://www.messagelabs.com/email
______________________________________________________________________