Ejemplo n.º 1
0
 public static void createDialog() {
   dialog = new TestDialog(new Frame(), "Instructions");
   String[] defInstr = {"Instructions will appear here. ", ""};
   dialog.printInstructions(defInstr);
   dialog.setVisible(true);
   println("Any messages for the tester will display here.");
 }
Ejemplo n.º 2
0
 public static void println(String messageIn) {
   dialog.displayMessage(messageIn);
 }
Ejemplo n.º 3
0
 public static void printInstructions(String[] instructions) {
   dialog.printInstructions(instructions);
 }
Ejemplo n.º 4
0
 public static void createDialogWithInstructions(String[] instructions) {
   dialog = new TestDialog(new Frame(), "Instructions");
   dialog.printInstructions(instructions);
   //        dialog.setVisible(true);
   println("Any messages for the tester will display here.");
 }