Here are the magic words you need to get input from the user in an applications: int userInput = 0; try { userInput = System.in.read(); } catch (java.io.IOException e) {}