///////////////////////////////////////////////////////////// // // File: hw1_stand.java // // Purpose: (proj1) Standalone interface for hw1 (Hello World). // It uses the default (standalone) TravIO interface // and the hw1 (Hello World) InputHandler. // // Authors: // txe Travis Emmitt (emmitt@virginia.edu) // // Modifications: // 13-SEP-1998 txe Initial creation // 14-SEP-1998 txe Added comments. // ///////////////////////////////////////////////////////////// import hw1; public class hw1_stand { // Instantiate a TravIO interface, then an hw1 input handler // which uses that interface. private static InputHandler handler = new hw1 (new TravIO ()); // Execute the input handler until it calls Exit() public static void main (String args[]) { while (true) { handler.HandleInput (); } } } /////////////////////////////////////////////////////////////