Results 1 to 2 of 2
  1. #1
    keo is offline Member
    Join Date
    May 2010
    Rep Power

    Default Typing into terminal

    Hello everyone =]

    I have to make a game that is terminal based. Output is created with the System.out.println("string content..."); method.

    How do I input data in a terminal?

    Is is possible to create a text box in the terminal, so I can input keywords with the keyboard, and a method is used to identify certain methods?


  2. #2
    Petr's Avatar
    Petr is offline Senior Member
    Join Date
    Jan 2011
    Rep Power


    Yeah Sure. You can use Scanner class more info you can see in Java API
    see Scanner (Java Platform SE 6)
    Skype: petrarsentev

Similar Threads

  1. Replies: 5
    Last Post: 10-30-2010, 06:56 PM
  2. Mac Terminal
    By Java8 in forum Other IDEs
    Replies: 0
    Last Post: 01-16-2010, 06:19 PM
  3. I know there's an error, let me finish typing!
    By Stravant in forum Eclipse
    Replies: 1
    Last Post: 12-26-2009, 03:26 PM
  4. Replies: 1
    Last Post: 08-20-2009, 04:28 PM
  5. Terminal
    By dj kourampies in forum New To Java
    Replies: 7
    Last Post: 01-07-2009, 03:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts