NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: My Menus hidden by display.getComponent()

Luke-

This is a lightweight/heavyweight issue.  See:

http://www.unidata.ucar.edu/cgi-bin/msgout?/glimpse/visad-list/3843

for a discussion on this and how to correct the problem.  Also,
the following message along the same lines has a pointer to a Sun
page that explains this:

http://www.unidata.ucar.edu/cgi-bin/msgout?/glimpse/visad-list/4681

Don

Bill Hibbard wrote:
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

--
*************************************************************
Don Murray                               UCAR Unidata Program
dmurray@xxxxxxxxxxxxxxxx                        P.O. Box 3000
(303) 497-8628                              Boulder, CO 80307
http://www.unidata.ucar.edu/staff/donm
*************************************************************



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