|
well, when you say test.start( ); you have only started the timer but instead of printing test you call System.println(test.isRunning() ); which will give you a boolean answer, not "test" like you mention. and thats the end....no more code.... you need the Thread.sleep(1000); to tie the two together and cause your action, printing "test" with your Timer...
Jason
|