¡@

Home 

java Programming Glossary: mynewthread

Why not to start a thread in the constructor? How to terminate?

http://stackoverflow.com/questions/5623285/why-not-to-start-a-thread-in-the-constructor-how-to-terminate

will handle sending data to that same port. public class MyNewThread implements Runnable Thread t MyNewThread t new Thread this Data.. public class MyNewThread implements Runnable Thread t MyNewThread t new Thread this Data Thread t.start public void run New Thread.. public static void main String args throws Exception new MyNewThread First thread code there This works but my complier flags a..