MethodwindowClosingThis method handles the event which indicates that a window is closing. If encountered, then it hides the frame, fees the resources and exits. @param
设计模式/Java与模式_程序设计/src/com/javapatterns/factorymethod/instantiate/ButtonMaker.java:193