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.

Setting the size of a display

hi all,

I created a "DisplayImpl display = new DisplayImplJ3D("satdisplay");" and then i attached it to a panel in my application, "jpanel.add(satdisplay.getComponent());" now my problem is that the jpanel has a size of 800,600 and the display is only a small part of it but i want it to occupy the whole panel. Anyone knows how i do this or how do i set a set a specified size for the display?

cheers,
Tiago Simoes


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