Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: My Menus hidden by display.getComponent()

Luke, please send all questions to visad-list@xxxxxxxxxxxxx
rather than just to me.

On Mon, 14 Jul 2003 Luke.A.Catania@xxxxxxxxxxxxxxxxxxx wrote:

> Bill,
>
> I have a VisAd Display in a Jframe with a Menu Bar.  And when I click on my
> menu, which is part of a JMenu bar, the Menu Items actually get displayed
> behind the graph.  One of my users noticed that the menus were missing.  But
> when I comment out the line below and just display my Jframe with my menus,
> I can see them.
>
> this.getContentPane().add(display.getComponent());
>
> Not sure why this is so.  It was not doing this before.

SatDisplay.java, VerySimple.java and VisuTraj.java in
visad/examples all do this same line of code, and they
still work fine. I don't know what the problem is.

Also, on your javax.media.j3d.Canvas3D error, I don't
know why you get this error now but not before.

Good luck,
Bill


  • 2003 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: