JAL-2047 delay to allow table model initilisation to complete
[jalview.git] / src / jalview / ws / uimodel / PDBRestResponse.java
index 3dc3563..3471fab 100644 (file)
@@ -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