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.
Hi, I am trying to use the "display.getComponent" to display in an applet. I defined a "getComponent" in SimpleDisplay.java, public Component getComponent(){ return display.getComponent(); } and use it in SimpleDisplayApplet.java, SimpleDisplay m_display = new SimpleDisplay(m_datafile); m_display.process(); add(m_display.getComponent()); showStatus("init ..."); However, I found the size of the display component in the applet is fixed (about 270x270). My question is how to change the display size in the applet to make it propotional to the applet size? Thanks. Muz
visad
archives: