I guess I should of pointed out that I have already tried the SwingWorker utility. I have tried various incarnations of threading, using my real code and test code. If I have a thread that does not sleep, then the main application locks up. Using yield does not help. If I put a sleep in the loop, then everything works fine (sleeping while doing a time intensive operation is not very productive). I was hoping I could lower the priority of my method to allow the Swing event handling code to run. As an aside, the SwingWorker utility does not work using native threads (on my system). It works fine under green threads, but it does not appear to actually switch threads. Any suggestions? -Tom "Alexander V. Konstantinou" wrote: > > You need to use a Swing worker thread to process your file. Go to Sun's > site and look for the example called "SwingWorker". > > Alexander > > On Tue, Jul 20, 1999 at 08:22:22AM -0400, Thomas M. Sasala wrote: > > Does anyone know what the priority of the Swing > > Event processing thread is? I have an application that needs to > > process very large files, but I start the thread, the main > > application is still locked up. Placing a yield() in the > > time consuming thread doesn't seem to help. Any suggestions? > > > > -Tom -- +-------------------------------------------------------------------+ + 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]