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:
ec8d343
)
JAL-2047 delay to allow table model initilisation to complete
author
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Wed, 13 Apr 2016 09:41:13 +0000
(10:41 +0100)
committer
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Wed, 13 Apr 2016 09:41:13 +0000
(10:41 +0100)
src/jalview/ws/uimodel/PDBRestResponse.java
patch
|
blob
|
history
diff --git
a/src/jalview/ws/uimodel/PDBRestResponse.java
b/src/jalview/ws/uimodel/PDBRestResponse.java
index
3dc3563
..
3471fab
100644
(file)
--- a/
src/jalview/ws/uimodel/PDBRestResponse.java
+++ b/
src/jalview/ws/uimodel/PDBRestResponse.java
@@
-269,6
+269,14
@@
public class PDBRestResponse
public static void configureTableColumn(JTable tbl_summary,
Collection<PDBDocField> wantedFields)
{
+ try
+ {
+ // wait for table model initialisation to complete
+ Thread.sleep(1200);
+ } catch (InterruptedException e1)
+ {
+ e1.printStackTrace();
+ }
for (PDBDocField wantedField : wantedFields)
{
try