Listing 7. The windowClosing() event handler method.
  public void windowClosing(
                        WindowEvent e){
    System.out.println(
      "WProc1 windowClosing test msg");
    displayWindowRef.dispose();
  }//end windowClosing()