Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SwingUtilities.invokeLater hang or deadlock



Core Java Technologies
TECHNICAL TIPS
July 27, 2005
View this issue as simple text
 
A technology tip that describes threading and the use of invokeLater() was published last year.  It recommends that a statement be placed before the thread.start() statement to set the priority of the thread so that it has a lower priority than the EventQueue thread.  I can send you a copy of the 'technology tip' if you need it.
 
Thread oThread = new Thread(Runnable);
oThread.setPriority(Thread.NORM_PRIORITY);
oThread.start();
 
gerard
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.