Re: OpenDialog not displaying Title (mac only?)

Posted by ctrueden on
URL: http://imagej.273.s1.nabble.com/OpenDialog-not-displaying-Title-mac-only-tp5020162p5020163.html

Hi Kenneth,

It is a design decision of newer versions of macOS. The native file chooser
simply does not have a title bar anymore.

One workaround is to enable the "Use JFileChooser to open/save" option in
Edit > Options > Input/Output.

Regards,
Curtis

--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
Did you know ImageJ has a forum? http://forum.imagej.net/


On Mon, Feb 26, 2018 at 2:39 PM, Kenneth Sloan <[hidden email]>
wrote:

> I suspect this is old, but I've forgotten the answer.
>
> On a mac (I think it's mac-only), OpenDialog fails to display the "title".
>
> I have been reduced to code that looks like this:
>
>   IJ.showStatus("Choose an image ...");
>   od = new OpenDialog("Choose an image ...");
>
> This seems like abuse of showStatus - but it works.  The problem is that
> new users don't often see the
> message in the status bar (it is a bit unobtrusive).
>
> so...is this a known bug?  Does it have a known (better than mine)
> workaround?
>
> Perhaps IJ.showMessage(...) would be better, but that seems to entail an
> extra "dismiss" click from the users.  They don't like that.  Trained users
> .don't really need the prompt, and new users often don't SEE the prompt.
>
> --
> Kenneth Sloan
> [hidden email]
> Vision is the art of seeing what is invisible to others.
>
>
>
>
>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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