~yrke/tapaal/removeNetType

« back to all changes in this revision

Viewing changes to src/pipe/gui/widgets/EscapableDialog.java

MergedĀ lp:~yrke/tapaal/testbranch-syntaxOnlyChanges

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 */
22
22
public class EscapableDialog extends JDialog {
23
23
 
24
 
        /**
25
 
         * 
26
 
         */
27
 
        private static final long serialVersionUID = -7859292606172447650L;
28
 
 
29
24
        /** Creates a new instance of EscapableDialog */
30
25
        public EscapableDialog(Frame frame, String string, boolean modal) {
31
26
                super(frame, string, modal);
40
35
                JRootPane rootPane = new JRootPane();
41
36
                KeyStroke stroke = KeyStroke.getKeyStroke("ESCAPE");
42
37
                Action actionListener = new AbstractAction() {
43
 
                        /**
44
 
                 * 
45
 
                 */
46
 
                        private static final long serialVersionUID = -7649362860682585358L;
47
38
 
48
39
                        public void actionPerformed(ActionEvent actionEvent) {
49
40
                                setVisible(false);