// Create and start a thread
Thread thread = new SampleThread();
thread.start();
if (thread.isAlive()) {
// Thread is still running
} else {
// Thread is finished
}
Subscribe to:
Post Comments (Atom)
Sample Java Codes Copyright © 2008 Green Scrapbook Diary Designed by SimplyWP | Made free by Scrapbooking Software | Bloggerized by Ipiet Notez
0 comments:
Post a Comment