From: jprocter Date: Tue, 7 Sep 2010 12:09:17 +0000 (+0000) Subject: kick off the first time service parameter set discovery thread when service is discovered X-Git-Tag: Release_2_6~65 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=66eff479b11806bdcb0852c52344e9a520990921;p=jalview.git kick off the first time service parameter set discovery thread when service is discovered --- diff --git a/src/jalview/ws/jws2/Jws2Discoverer.java b/src/jalview/ws/jws2/Jws2Discoverer.java index 2ef9cfd..dda8c4e 100644 --- a/src/jalview/ws/jws2/Jws2Discoverer.java +++ b/src/jalview/ws/jws2/Jws2Discoverer.java @@ -162,7 +162,10 @@ public class Jws2Discoverer implements Runnable, WSMenuEntryProviderI } System.out.println("Discovered service: " + jwsservers + " " + srv.toString()); - services.add(new Jws2Instance(jwsservers, srv.toString(), service2)); + Jws2Instance service = new Jws2Instance(jwsservers, srv.toString(), service2); + + services.add(service); + service.getParamStore(); } public class Jws2Instance @@ -344,6 +347,7 @@ public class Jws2Discoverer implements Runnable, WSMenuEntryProviderI }); wsmenu.add(jws2al); + } private void populateWSMenuEntry(JMenu jws2al, final AlignFrame alignFrame)