git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b73dfae
)
JAL-2077 less drastic exit on close
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Thu, 1 Sep 2016 15:37:10 +0000
(16:37 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Thu, 1 Sep 2016 15:37:10 +0000
(16:37 +0100)
test/jalview/gui/MouseEventDemo.java
patch
|
blob
|
history
diff --git
a/test/jalview/gui/MouseEventDemo.java
b/test/jalview/gui/MouseEventDemo.java
index
3a382ca
..
aeed2c6
100644
(file)
--- a/
test/jalview/gui/MouseEventDemo.java
+++ b/
test/jalview/gui/MouseEventDemo.java
@@
-142,7
+142,7
@@
public class MouseEventDemo extends JPanel implements MouseListener
{
// Create and set up the window.
JFrame frame = new JFrame("MouseEventDemo (C to clear)");
- frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
+ frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
// Create and set up the content pane.
JComponent newContentPane = new MouseEventDemo();