View Single Post
  #2 (permalink)  
Old 07-06-2007, 05:06 PM
Eric Eric is offline
Senior Member
 
Join Date: Jun 2007
Posts: 111
Eric is on a distinguished road
Can you paste your code? maybe the problem is in your code
anyway check this code.
Code:
public class MyDialog extends JDialog { protected void processWindowEvent(WindowEvent e) { if(e.getID() == WindowEvent.WINDOW_CLOSING) { // Your code here. }
Reply With Quote