Search:

Type: Posts; User: johnsmith1992

Search: Search took 0.06 seconds.

  1. Replies
    6
    Views
    6,360

    Re: Get Java input on a timer

    Thanks helloworld922

    I'm sorry but I can't work out how to use your class.
    TimedScanner ts = new TimedScanner();
    String str = ts.nextLine(2000);

    Obviously I need to pass a value into the...
  2. Replies
    6
    Views
    6,360

    Re: Get Java input on a timer

    Sorry I have now updated the question
  3. Replies
    6
    Views
    6,360

    Get Java input on a timer

    Don't know weather the is the correct place for this question

    I want to read user input on a timer.
    so input = myClass.getInput()
    will equal to a read in input from the user (from the console)...
Results 1 to 3 of 3