AW: Colors in Gridded 2d set

Hi Karan,

> 3. I want to add JPopUp menu on JPanel where grid is
> coming. I am trying to add it but, it is giving some
> problem. How can i achive this.

I don't exactly know what problem you have. But if you are using a
DisplayImplJ3D your code will not generate a JpopupMenu because you have
to set the JpopupMenu none-lightweight to appear on a DisplayImplJ3D.
Try JPopupMenu.setLightWeightPopupEnabled(false) before you call the
show()-method.

Cheers, Mathias


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