Swingworker thread or just a plain thread?

Discussion in 'Software' started by smily, Jul 8, 2010.

  1. smily

    smily

    Joined:
    Jul 8, 2010
    Messages:
    1
    Likes Received:
    0
    Hello,

    I'm trying to write an application which reads streaming information from a socket and displays it in graphical form. I'm using a Java Swing application. Should I put the code for reading information from the socket in a Swingworker thread or just a plain thread. By plain thread I mean something like:

    private static class MessageLoop implements Runnable {
    ..

    Thanks!
    smily
     
    smily, Jul 8, 2010
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. Bay0Wulf
    Replies:
    3
    Views:
    709
    Mitch
    Dec 1, 2003
  2. ZaMir
    Replies:
    31
    Views:
    7,987
    trout
    May 18, 2004
  3. PDAMan
    Replies:
    0
    Views:
    784
    PDAMan
    Oct 6, 2004
  4. sbcmynews
    Replies:
    4
    Views:
    1,374
    Walter T.
    May 1, 2005
  5. Debbie
    Replies:
    0
    Views:
    823
    Debbie
    May 10, 2006
  6. a
    Replies:
    5
    Views:
    3,890
    mprasad079
    Dec 23, 2012
  7. Arthur Rosene

    is there a x64 TV Tuner that just plain works?

    Arthur Rosene, Dec 17, 2005, in forum: Windows 64bit
    Replies:
    3
    Views:
    524
    Dennis Pack
    Dec 18, 2005
  8. Rupert
    Replies:
    3
    Views:
    565
    Enkidu
    Aug 26, 2003
Loading...