This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 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: 36574
    
  16
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TIMER CLASS
 
Similar Threads
allocate time for a command
Set Timer
Threads doubt
Create a counter that increments once a second until a given number of seconds is reached
stopping Timer after certain number of actions