Re: B&C window missing

Posted by Aivar Grislis on
URL: http://imagej.273.s1.nabble.com/B-C-window-missing-tp5001234p5001244.html

>these commands do not operate on the B&C window even if there are no other windows open. If there are other windows open, then the topmost window that isn't B&C is relocated

That's strange. It's working for me, topmost or not, on a Linux system. Sounds like 'selectWindow("B&C")' fails and then 'setLocation(0,0)' is working on the topmost window.

Have you tried a Windows workaround like this?:

http://www.howtogeek.com/howto/windows/bring-misplaced-off-screen-windows-back-to-your-desktop-keyboard-trick/

Aivar

On 12/20/12, "Cammer, Michael"  wrote:

> We think the problem is precisely the external monitor issue but these commands do not operate on the B&C window even if there are no other windows open. If there are other windows open, then the topmost window that isn't B&C is relocated.
>
>
>
> selectWindow("B&C");
>
> setLocation(0,0);
>
>
>
> Regards,
>
> Michael
>
>
>
> -----Original Message-----
>
> From: Cammer, Michael
>
> Sent: Thursday, December 20, 2012 2:03 PM
>
> To: Santos, Luis
>
> Subject: FW: B&C window missing
>
>
>
>
>
>
>
> -----Original Message-----
>
> From: ImageJ Interest Group [mailto:[hidden email]](javascript:main.compose() On Behalf Of Aivar Grislis
>
> Sent: Thursday, December 20, 2012 1:58 PM
>
> To: [hidden email]<mailto:[hidden email](javascript:main.compose()>
>
> Subject: Re: B&C window missing
>
>
>
> I suspect he may have run it last on an external monitor which is no longer present, so the location is off the screen.
>
>
>
> This macro might help:
>
>
>
> if (isOpen("B&C")) { selectWindow("B&C"); setLocation(0,0); }
>
>
>
> (Based on this discussion http://imagej.1557.n6.nabble.com/Modify-Log-window-size-and-position-in-a-macro-td3687259.html )
>
>
>
> Aivar
>
>
>
> On 12/20/12, "Cammer, Michael" wrote:
>
> > Hi,
>
> > I'm sitting next to a visiting colleague who can't see the Brightness & Contrast window when running ImageJ on his 64 bit Windows 7 laptop. It shows up in the Windows 7 toolbars list but isn't anywhere on the screen, even pushed way off to one or the other side. Other windows, such as Threshold, are fine. He rebooted the computer and changed the screen resolution, but the B&C window is still missing. He started with ImageJ 1.46 but downloaded the daily build of 1.47g with Java 1.6.0_20 and the problem persists.
>
> > Does anyone have an idea how to fix this?
>
> > Thanks!
>
> >
>
> >
>
> > ________________________________________________________
>
> > Michael Cammer, Assistant Research Scientist Skirball Institute of
>
> > Biomolecular Medicine
>
> > Lab: (212) 263-3208 Cell: (914) 309-3270
>
>
> ________________________________________________________
> Michael Cammer, Assistant Research Scientist
> Skirball Institute of Biomolecular Medicine
> Lab: (212) 263-3208 Cell: (914) 309-3270
>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

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