Parent Directory | Revision Log | Patch
revision 1.18 by mkoch, Fri Oct 22 12:43:59 2004 UTC | revision 1.19 by mkoch, Tue Dec 21 19:25:10 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 | { | { |
192 | if (operation != DO_NOTHING_ON_CLOSE | |
193 | && operation != HIDE_ON_CLOSE | |
194 | && operation != DISPOSE_ON_CLOSE), | |
195 | throw new Error("Close operation must be one of DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE, or DISPOSE_ON_CLOSE"); | |
196 | defaultLookAndFeelDecorated = decorated; | defaultLookAndFeelDecorated = decorated; |
197 | } | } |
198 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |