Login  Register

Re: Dialog box placement

Posted by Michael Schmid on Aug 22, 2012; 9:12am
URL: http://imagej.273.s1.nabble.com/Dialog-box-placement-tp4999820p4999826.html

Hi Jim,

which operating system and Java version are you using?
Centering the dialogs depends on IJ.getScreenSize(), which should give the size of the primary screen.

Plugins>Utilities>ImageJ Properties should tell you the result of IJ.getScreenSize (near the bottom of the list).  Does it report the combined size of both screens? (it should not).

---
As far as I can say, currently there is no way to change the default position of the dialogs, without modifying the plugin that shows the dialog.
There are very few exceptions: The 'WaitForUser' dialog should remember its position, until ImageJ is restarted.

Michael
________________________________________________________________
On Aug 21, 2012, at 15:29, Jim_Phillips wrote:

> Hello all, is there a macro language command to change the location of a
> dialog box /à la/ the setLocation function for image windows?  If not, is
> there another straightforward way of changing the default location?  A macro
> we've developed requires a dialog box for user input, which, in a two
> monitor setup, always appears between the two screens which is rather
> irritating.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html