I see... Thank you very much, Norm! Those stuff about daemon was really new for me. I'm glad that I understand threads a bit better after your explanations.
Type: Posts; User: angstrem
I see... Thank you very much, Norm! Those stuff about daemon was really new for me. I'm glad that I understand threads a bit better after your explanations.
Oh, I see now... And how can I access the currently available worker threads and, perhaps, set some of them not to be a daemon? Where do they spawn and how are they accessed?
Hmmm, why's that so? Does that mean, that all the threads terminate when the main method returns?
And why, for example, this code executes the thread without sleeping?
public static void...
Yes, here's the program, who does not run:
import javax.swing.SwingWorker;
public class Polygon {
public static void main(String[] args) {
SwingWorker<Void, Void> w = new...
I'm curious, where and when do all the Swing's worker threads spawn?
The question raised, when I tried to invoke SwingWorker's execute() method from the main() method of a console application (just...