Separate thread with infinite loop blocking gui update Netbeans
This would be my first program using threads so would appreciate any help i can get. Created a new Netbeans Java Desktop App and would like to know where at what point in the automatically generated code can I instantiate and run my runnable interface class so that it would not block the gui part of the application (event dispatcher thread i think).
This runnable thread of mine would contain an infinite loop listening for incoming UDP packets.
Thank you for all the help ! ankit
Make it an asynchronous thread and call it whenever you want it to start running.