ImageJ 3D Viewer -- Cannot View Menu Dropdown Options

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

ImageJ 3D Viewer -- Cannot View Menu Dropdown Options

j.cai
Hi,

I'm getting the same error described here: http://imagej.1557.x6.nabble.com/Cannot-see-menu-options-in-3D-Viewer-on-MacOSX-td5000501.html.

I am on Mac OSX 10.8, and developing an application with the 3D Viewer. If I try to access the dropdown menu in the window's default state, the dropdown "disappears" behind the content pane. However, if I resize the window so that it is very skinny, I can see the dropdown options.

Is there a fix for this?

Reply | Threaded
Open this post in threaded view
|

Re: ImageJ 3D Viewer -- Cannot View Menu Dropdown Options

ctrueden
Hi Jonathon,

This is a very old issue with heavyweight vs lightweight AWT components.
Did you try "JPopupMenu.setDefaultLightweightPopupEnabled(false)" in your
code?

Regards,
Curtis
 On Jul 1, 2013 4:05 PM, "j.cai" <[hidden email]> wrote:

> Hi,
>
> I'm getting the same error described here:
>
> http://imagej.1557.x6.nabble.com/Cannot-see-menu-options-in-3D-Viewer-on-MacOSX-td5000501.html
> .
>
> I am on Mac OSX 10.8, and developing an application with the 3D Viewer. If
> I
> try to access the dropdown menu in the window's default state, the dropdown
> "disappears" behind the content pane. However, if I resize the window so
> that it is very skinny, I can see the dropdown options.
>
> Is there a fix for this?
>
>
>
>
>
> --
> View this message in context:
> http://imagej.1557.x6.nabble.com/ImageJ-3D-Viewer-Cannot-View-Menu-Dropdown-Options-tp5003728.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ 3D Viewer -- Cannot View Menu Dropdown Options

j.cai
Hi Curtis--

In the ImageJ3DUniverse file that comes with the jar, that line is present in the init(window) method:

JPopupMenu.setDefaultLightWeightPopupEnabled(false);

So I believe it's set. Could something else be causing this problem?
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ 3D Viewer -- Cannot View Menu Dropdown Options

Marcel
According to this article:

http://www.oracle.com/technetwork/articles/java/mixing-components-433992.html

Mixing Lightweight and Heavyweight components shouldn't be a problem anymore.
"As of the JDK 6 Update 12 and JDK 7 build 19 releases".

Some exceptions mentioned in the article.
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ 3D Viewer -- Cannot View Menu Dropdown Options

dscho
Hi Marcel,

On Tue, 2 Jul 2013, Bio7 wrote:

> According to this article:
>
> http://www.oracle.com/technetwork/articles/java/mixing-components-433992.html
>
> Mixing Lightweight and Heavyweight components shouldn't be a problem
> anymore.

Yep, mixing is no problem anymore. Except when it is, of course ;-)

Ciao,
Dscho

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