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:
b40e588
)
update gui in gui thread - not structure loading thread
author
jprocter
<Jim Procter>
Thu, 2 Sep 2010 12:31:51 +0000
(12:31 +0000)
committer
jprocter
<Jim Procter>
Thu, 2 Sep 2010 12:31:51 +0000
(12:31 +0000)
src/jalview/gui/AppJmolBinding.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AppJmolBinding.java
b/src/jalview/gui/AppJmolBinding.java
index
d2efb93
..
5727386
100644
(file)
--- a/
src/jalview/gui/AppJmolBinding.java
+++ b/
src/jalview/gui/AppJmolBinding.java
@@
-86,7
+86,11
@@
public class AppJmolBinding extends jalview.ext.jmol.JalviewJmolBinding
public void refreshGUI()
{
// appJmolWindow.repaint();
- appJmolWindow.updateTitleAndMenus();
+ javax.swing.SwingUtilities.invokeLater(new Runnable() {
+ public void run() {
+ appJmolWindow.updateTitleAndMenus();
+ appJmolWindow.revalidate();
+ }});
}
public void updateColours(Object source)