Create InputWaitThread.java