2012-04-29 80 views
0

如何檢查JFrame窗戶何時關閉?如何檢查JFrame何時關閉?

MediaPanel mediaPanel=new MediaPanel(); 
JFrame_of_subtitle frame=new JFrame_of_subtitle(mediaPanel); 
JPanel panel=new JPanel(); 
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 

回答