Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: DisplayImpl.getImage()

Hi Hank,

> I have managed to get the piece of the DEM displaying
> similarly to test case 50 but I can't get another UI to
> successfully load the image into its own frame.  I am after
> a simple static image, not the linked kind in the test case.

I have thought more about this, and have produced a new
signature for DisplayImpl.getImage:

    public BufferedImage getImage(boolean sync);

that syncs with the display of all data objects when sync
is true.

This method should make it simple to take a snapshot of a
simple image.  Please let me know if this does not work on
your NT workstation (it works on Solaris).

Cheers,
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

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690