From 05f250321b26127cd899d656548d8983e8154b4a Mon Sep 17 00:00:00 2001 From: tcofoegbu Date: Wed, 13 Apr 2016 10:41:13 +0100 Subject: [PATCH] JAL-2047 delay to allow table model initilisation to complete --- src/jalview/ws/uimodel/PDBRestResponse.java | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 1.7.10.2