Re: macro dialog interface
Posted by Michael Schmid on May 07, 2008; 8:13am
URL: http://imagej.273.s1.nabble.com/detect-motion-across-frames-tp3696278p3696285.html
Hi Winnok,
no, sorry, you can't. You could have several checkboxes in
one line if you write a PlugIn or PlugInFilter and use the
addPanel method of GenericDialog.
Or you completely write a java.awt.Dialog yourself.
There is a disadvantage of having your own Panel with
checkboxes - ImageJ knows nothing about them.
- You cannot use the getNexBoolean() method to read the state
of the checkbox
- The state of the checkbox cannot be set in a macro (and not
recorded by the Macro Recorder)
Michael
________________________________________________________________
On 7 May 2008, at 09:55, Winnok De Vos (ugent) wrote:
> Dear all
>
> I have a small question of rather practical and esthetical nature:
> Is it possible to put options and checkboxes etc in a dialog next
> to instead
> of below each other with macro language?
> Many thanks in advance.
> Kind regards
> Winnok