I would prefer to point you to some previous discussions
(very very good, maybe lengthy but very very good). I am not
explaining anything just so I don't confuse you....read these
and
it will help you if you run the code 1. Deamon threads....
2. Difference bet'n main, user and deaon thread with code.
Again very useful discussions on the subject matter. Regds.
- satya
[This message has been edited by Madhav Lakkapragada (edited June 29, 2000).]
Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81