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., and 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 error, I don't
know why you get this error now but not before.

Good luck,