stuck at getImage()'s wait()

Hi all,

Don, Bill, Thanks for your insight before.  I got those two things
working.(Tick marks on the end, rubberband zooming)

I've run into another issue.  I'm trying to use DisplayImpl.getImage() to
get an image of the display.  The problem is that it stops where
DisplayRendererJ2D.getImage() calls wait().  I already have the original
getImage() call in a separate thread as described here:  
http://www.unidata.ucar.edu/projects/coohl/mhonarc/MailArchives/visad-list/msg03153.html
I assume I have to notify something to make this work but I can't figure
out what or how.  Sorry if this is a simple thread question but I am
pretty new to threads(especially java threads).  I would use the
java.util.Util.captureDisplay() function but I get a black image.  The
author of that article also had the same problem so I am trying to use his
solution.  I'm also using 1.4 but for linux.

Thanks a bunch,
Ben Monnahan


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