Posted by
Unruh, Jay on
May 07, 2008; 2:21pm
URL: http://imagej.273.s1.nabble.com/detect-motion-across-frames-tp3696278p3696287.html
One option might be to use the JTable as sort of a spreadsheet entry table rather than a dialog with multiple components. Unfortunately, that would require implementing the JDialog rather than the Dialog class.
Jay
-----Original Message-----
From: ImageJ Interest Group [mailto:
[hidden email]] On Behalf Of Joachim Wesner
Sent: Wednesday, May 07, 2008 3:23 AM
To:
[hidden email]
Subject: Antwort: Re: macro dialog interface
Hi Michael,
2 bad! I used addPanel on GenericDialog myself and know of it´s limitations.
However, "intermediately complex" plugins easily have more configurable options so that GenericDialogs quickly become too high to fit on smaller screens.
I also would find it VERY useful if one could come up with an updated version of GenericDialog that makes 2D placing the dialog elements (so at least on the Java level) more convenient without loosing the advantages of it. THAT WOULD BE GREAT!
Joachim
ImageJ Interest Group <
[hidden email]> schrieb am 07.05.2008 10:13:12:
> 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
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit
http://www.messagelabs.com/email ______________________________________________________________________