/[classpath]/classpath/javax/swing/JFrame.java
ViewVC logotype

Diff of /classpath/javax/swing/JFrame.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.23 by rabbit78, Fri Jun 17 11:53:50 2005 UTC revision 1.24 by abalkiss, Wed Jun 22 15:09:40 2005 UTC
# Line 342  public class JFrame extends Frame Line 342  public class JFrame extends Frame
342    
343      if (operation != EXIT_ON_CLOSE && operation != DISPOSE_ON_CLOSE      if (operation != EXIT_ON_CLOSE && operation != DISPOSE_ON_CLOSE
344          && operation != HIDE_ON_CLOSE && operation != DO_NOTHING_ON_CLOSE)          && operation != HIDE_ON_CLOSE && operation != DO_NOTHING_ON_CLOSE)
345        throw new IllegalArgumentException("operation = " + operation);        throw new IllegalArgumentException("defaultCloseOperation must be EXIT_ON_CLOSE, HIDE_ON_CLOSE, DISPOSE_ON_CLOSE, or DO_NOTHING_ON_CLOSE");
346    
347      close_action = operation;      close_action = operation;
348    }    }

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26