From: tcofoegbu Date: Wed, 13 Apr 2016 09:41:13 +0000 (+0100) Subject: JAL-2047 delay to allow table model initilisation to complete X-Git-Tag: Release_2_10_0~265 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=05f250321b26127cd899d656548d8983e8154b4a;p=jalview.git JAL-2047 delay to allow table model initilisation to complete --- diff --git a/src/jalview/ws/uimodel/PDBRestResponse.java b/src/jalview/ws/uimodel/PDBRestResponse.java index 3dc3563..3471fab 100644 --- 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 wantedFields) { + try + { + // wait for table model initialisation to complete + Thread.sleep(1200); + } catch (InterruptedException e1) + { + e1.printStackTrace(); + } for (PDBDocField wantedField : wantedFields) { try