Search:

Type: Posts; User: angstrem

Search: Search took 0.09 seconds.

  1. Replies
    8
    Views
    3,063

    [SOLVED] Re: Worker threads in Swing

    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.
  2. Replies
    8
    Views
    3,063

    [SOLVED] Re: Worker threads in Swing

    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?
  3. Replies
    8
    Views
    3,063

    [SOLVED] Re: Worker threads in Swing

    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...
  4. Replies
    8
    Views
    3,063

    [SOLVED] Re: Worker threads in Swing

    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...
  5. Replies
    8
    Views
    3,063

    [SOLVED] Worker threads in Swing

    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...
Results 1 to 5 of 5