/[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.19 by mkoch, Tue Dec 21 19:25:10 2004 UTC revision 1.20 by mkoch, Tue Dec 21 19:50:08 2004 UTC
# Line 189  public class JFrame extends Frame Line 189  public class JFrame extends Frame
189    
190    public static void setDefaultLookAndFeelDecorated(boolean decorated)    public static void setDefaultLookAndFeelDecorated(boolean decorated)
191    {    {
     if (operation != DO_NOTHING_ON_CLOSE  
         && operation != HIDE_ON_CLOSE  
         && operation != DISPOSE_ON_CLOSE),  
       throw new Error("Close operation must be one of DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE, or DISPOSE_ON_CLOSE");  
192      defaultLookAndFeelDecorated = decorated;      defaultLookAndFeelDecorated = decorated;
193    }    }
194    

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

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