title: UDP listener on a thread and posting to GUI
body: <p>I'm running a dialog based program that sends TCP out on a periodic, but also listens for UDP messages and displays the contents to the GUI.  With the simple example I used initially, once I began listening in the while(true), all other GUI functionality was shut down.  I then tried to spawn a thread to do the listening, but those examples required me to create a new class which hid the GUI elements from my view.</p>
  
  <p>So my question is, what is the best practice to listen for UDP messages and write contents to the GUI without blocking the GUI thread?</p>