I want to make a JAVA game...in dat game...d player has to input a word in 10 secnds...4 dat m running a delay loop... but the problem is not...i am not getting any way...to make that input field(eg: String str=in.readLine();) valid only till 10 secs...or if i can calculate in any way the time taken by the player to input the string...!! mail me ur suggestions and ideas at: firstname.lastname@example.org ! ! Thank you ! !