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:
90655a5
)
JAL-1111 allow news reader window to be moved even when modal dialogs are shown
author
jprocter
<jprocter@compbio.dundee.ac.uk>
Wed, 5 Sep 2012 10:44:26 +0000
(11:44 +0100)
committer
jprocter
<jprocter@compbio.dundee.ac.uk>
Wed, 5 Sep 2012 10:44:26 +0000
(11:44 +0100)
src/jalview/gui/BlogReader.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/BlogReader.java
b/src/jalview/gui/BlogReader.java
index
53ab9a3
..
7af589d
100644
(file)
--- a/
src/jalview/gui/BlogReader.java
+++ b/
src/jalview/gui/BlogReader.java
@@
-23,6
+23,7
@@
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Rectangle;
+import java.awt.Dialog.ModalExclusionType;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
@@
-326,6
+327,7
@@
public class BlogReader extends JPanel
bounds = new Rectangle(5, 5, 550, 350);
jd.initDialogFrame(me, false, false, "News from www.jalview.org",
bounds.width, bounds.height);
+ jd.frame.setModalExclusionType(ModalExclusionType.NO_EXCLUDE);
Cache.log.info("Displaying news.");
jd.waitForInput();
}