Parent Directory | Revision Log | 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 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |