code: public static void waitForEnter(String message) {
          System.out.println(message);
          
          try {
              getReader().readLine();
          } catch (IOException e) {
              e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
          }
      }
docs: Waits for enter with specified message.
  
  @param message of type String