*
The moose likes Beginning Java and the fly likes TIMER CLASS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "TIMER CLASS" Watch "TIMER CLASS" New topic
Author

TIMER CLASS

sparsh khandelwal
Ranch Hand

Joined: Dec 20, 2010
Posts: 70
HELLO EVERYONE

while learning about timer class,i found this code(without System.exit(0)) on net.on adding System.exit(0); in the given code,come to know that exit() not working properly;
please help me to make it understand
thanks in advance
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37926
    
  22
Where did you find that code? What do you mean by "not working properly"? What did you expect to happen? Please edit your post to remove the upper-case writing.
 
Consider Paul's rocket mass heater.
 
subject: TIMER CLASS
 
Similar Threads
stopping Timer after certain number of actions
Threads doubt
allocate time for a command
Create a counter that increments once a second until a given number of seconds is reached
Set Timer