Setting my task to MIN_PRIORITY fixes the problem, but I think it is a suboptimal fix. So: a) What would a better priority be? b) Is there a better fix than thread priority? c) Does the event handling thread run at a lower priority than the main application, hence yield() not working? d) Any hope for native threads in the near future? -Tom "Alexander V. Konstantinou" wrote: > > Now I remember, that when I had written a similar application that did > intensive disk I/O, I had to set the priority ofd the disk I/O thread > to be lower than that of the Swing thread. > > Alexander > -- +-------------------------------------------------------------------+ + Thomas M. Sasala, Electrical Engineer [EMAIL PROTECTED] + + MRJ Technology Solutions http://www.mrj.com + + 10461 White Granite Drive, Suite 102 (W)(703)277-1714 + + Oakton, VA 22124 (F)(703)277-1702 + +-------------------------------------------------------------------+ ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]