S
Sebastian Millies
There is a potential problem with inherited thread
priorities, described in a recent tech tip from Sun:
http://java.sun.com/developer/JDCTechTips/2005/tt0727.html#1
However, the SwingWorker class (3rd version) described at
http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html#SwingWorker
does not contain a call to Thread.setPriority(Thread.NORM_PRIORITY);
I assume this is a mistake (or the problem wasn't known
when SwingWorker was last revised.) Is that right? Stylistically,
should I place the missing statement in the SwingWorker()
constructor where the thread is created, or in the start()
method, where it is started?
-- Sebastian
priorities, described in a recent tech tip from Sun:
http://java.sun.com/developer/JDCTechTips/2005/tt0727.html#1
However, the SwingWorker class (3rd version) described at
http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html#SwingWorker
does not contain a call to Thread.setPriority(Thread.NORM_PRIORITY);
I assume this is a mistake (or the problem wasn't known
when SwingWorker was last revised.) Is that right? Stylistically,
should I place the missing statement in the SwingWorker()
constructor where the thread is created, or in the start()
method, where it is started?
-- Sebastian