Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Beginning Java and the fly likes allocate time for a command Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "allocate time for a command" Watch "allocate time for a command" New topic

allocate time for a command

sparsh khandelwal
Ranch Hand

Joined: Dec 20, 2010
Posts: 76

hello everyone,
i try to make a program such that if user not enter any input in certain limit of time,then next command will be executed;
please help!!!
thanks in advance

Javad Rashidi
Ranch Hand

Joined: Feb 13, 2011
Posts: 34

i write the code below. hope this will help.
I agree. Here's the link:
subject: allocate time for a command
It's not a secret anymore!