Field EXIT_ON_CLOSE
Field type: int
Member of:
javax.swing.JFrame
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
2
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
3
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
4
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
5
demo.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
6
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
7
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
8
setDefaultCloseOperation(EXIT_ON_CLOSE);
9
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
10
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
11
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
12
f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
13
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
14
frame_root.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
15
setDefaultCloseOperation( EXIT_ON_CLOSE );
16
f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
17
setDefaultCloseOperation(EXIT_ON_CLOSE);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.