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.

GifEncoder example

Hi

I`m tryng to save a visad display in gif format.  when i make:

Display d;
...
d.getImage();

shows me an exception like:

Exception occurred during event dispatching:
visad.VisADError: cannot call getImage() from Thread: AWT-EventQueue-0
        at visad.DisplayImpl.getImage(DisplayImpl.java:1674)
        at visad.DisplayImpl.getImage(DisplayImpl.java:1662)
        at Formulario.Superficie2D.getImage(Superficie2D.java:125)
        ...
And i don`t know why.

can somebody send me an example?
how can  i do this?

Thanks.

AndrEs Borja
Universidad Nacional
Facultad de Minas
Medellin-Colombia


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