On Sep 8, 2005, at 7:37 PM, John Kirkilis wrote:
> Bill,
>
> I was afraid you were going to say that, but since you've provided me
> with a working example, I'm glad. I've talked about multi-threading to
> my students and the event listener model, so we'll just get to dive
> into
> in a few weeks earlier.
>
> I'm still not quite sure why your PolySpiral example with the JSlider
> works just fine without needing to spawn a drawing thread. Is it
> because
> a complete spiral is drawn in response to a slider action with no
> intermediate updates being requested?
Yes, that's it exactly. If you don't need to see the intermediate
drawing there is no need for a separate thread. Once you return from
the slider's event the (complete) drawing can be processed the next
time through the event loop.
>
> Thanks again for all of your help.
>
> - John
>
--
Bill Tschumy
Otherwise -- Austin, TX
http://www.otherwise.com