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: