On 14 March 2010 13:01, Jody Garnett <jody.garn...@gmail.com> wrote: > Ah that is just it - not supposed to run the process in the event thread :-) >
I'm proud of my continuing ability to discover most of the mistakes that one can make with GeoTools. I'm using SwingWorker in the example now (not committed yet) and it's quite neat because it keeps the multi-threading, task polling etc. from obscuring the point of the example. However, there's still a problem with the progress window not updating. I discovered that the RasterToVectorProcess never actually starts the progress monitor :-( Fixed that but it still doesn't update properly, even though I give it a task that takes a few seconds to run. I don't think I understand SubProgressListener. Michael ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel