Calling dispose() on the Frame
Listing 7. The windowClosing() event handler method. |
---|
public void windowClosing( WindowEvent e){ System.out.println( "WProc1 windowClosing test msg"); displayWindowRef.dispose(); }//end windowClosing() |
File: cg.htm | [Next] | [Prev] |