0
가능한 중복 : 나는 폐쇄 JFrame의 청취자를 설정 한
Java: How to cancel application exitJFrame의 종료를 취소하는 방법은 무엇입니까?
은 : 필요한 경우
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.out.println("exit");
}
});
하지만, 확인 대화 상자를 보여, 그리고 것 , 취소를 취소하십시오. 내가 어떻게 해?
보증금은 얼마입니까? –