Index: javax/swing/JApplet.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/JApplet.java,v retrieving revision 1.9 diff -u -r1.9 JApplet.java --- javax/swing/JApplet.java 25 Sep 2004 13:27:52 -0000 1.9 +++ javax/swing/JApplet.java 25 Sep 2004 19:20:12 -0000 @@ -53,13 +53,16 @@ implements RootPaneContainer { private static final long serialVersionUID = 7269359214497372587L; + public static final int HIDE_ON_CLOSE = 0; public static final int EXIT_ON_CLOSE = 1; public static final int DISPOSE_ON_CLOSE = 2; public static final int DO_NOTHING_ON_CLOSE = 3; + private int close_action = EXIT_ON_CLOSE; - private boolean checking; + protected JRootPane rootPane; + protected boolean rootPaneCheckingEnabled; public JApplet() { @@ -141,7 +144,6 @@ getRootPane().setGlassPane(glassPane); } - ///////////////////////////////////////////////////////////////////////////////// protected void addImpl(Component comp, Object constraints, int index) { super.addImpl(comp, constraints, index); @@ -228,12 +230,12 @@ protected boolean isRootPaneCheckingEnabled() { - return checking; + return rootPaneCheckingEnabled; } protected void setRootPaneCheckingEnabled(boolean enabled) { - checking = enabled; + rootPaneCheckingEnabled = enabled; } public void update(Graphics g)