Beispiel #1
0
 public static void createDialog() {
   dialog = new TestDialog(new Frame(), "Instructions");
   String[] defInstr = {"Instructions will appear here. ", ""};
   dialog.printInstructions(defInstr);
   dialog.show();
   println("Any messages for the tester will display here.");
 }
Beispiel #2
0
 public static void createDialogWithInstructions(String[] instructions) {
   dialog = new TestDialog(new Frame(), "Instructions");
   dialog.printInstructions(instructions);
   dialog.show();
   println("Any messages for the tester will display here.");
 }