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
    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. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chris Smith

    Thunderbird plain text wrapping

    Chris Smith, Jun 27, 2004, in forum: Firefox
    Replies:
    3
    Views:
    3,510
    Tony Raven
    Jul 2, 2004
  2. Bay0Wulf
    Replies:
    3
    Views:
    503
    Mitch
    Dec 1, 2003
  3. Debbie
    Replies:
    0
    Views:
    641
    Debbie
    May 10, 2006
  4. Debbie
    Replies:
    0
    Views:
    543
    Debbie
    May 11, 2006
  5. Arthur Rosene

    is there a x64 TV Tuner that just plain works?

    Arthur Rosene, Dec 17, 2005, in forum: Windows 64bit
    Replies:
    3
    Views:
    358
    Dennis Pack
    Dec 18, 2005
Loading...

Share This Page