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: How can i resiza my display size?

Hi Carlos,

> I have a DisplayImplJ3D with XAxis, YAxis, ZAxis and RGB scalarmaps. My
> question is how can i change the display size?

Do it by the various calls for setting and changing the
sizes of the Swing components associated with DisplayImpls.
The DisplayImpl.getComponent() method usually returns a
JPanel, and most applications add() this to a JFrame or
other Swing Container.

I think your question is really a Swing question. I'm not
an expert, but there are lots of Swing code examples among
the various VisAD examples.

Good luck,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html


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