aspose file tools*
The moose likes Java in General and the fly likes How to inactivate a program automatically after a specified time period Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to inactivate a program automatically after a specified time period" Watch "How to inactivate a program automatically after a specified time period" New topic
Author

How to inactivate a program automatically after a specified time period

Johnson K Jose
Ranch Hand

Joined: Jul 07, 2002
Posts: 36
Hi Friends,
I am Johnson K Jose, a java student.
I have an applet, in which we can select a colour, shape, etc and press OK button, it will draw the respective shape. This is working fine.
My problem is I want to customise it. That is it should stop running after a specified time, say ( 1 month). I don�t have any idea how to do it. Can any one give me some clue or sample code how to do this?
Thanks in advance.
Johnson
:roll:
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Check out the Timer class.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to inactivate a program automatically after a specified time period
 
Similar Threads
How to inactivate a program automatically after a specified time period
Constructors and Polymorphism
Type problem
How optimize paintComponent?
MouseListener