/*\r
- * Jalview - A Sequence Alignment Editor and Viewer\r
- * Copyright (C) 2007 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
- *\r
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4)\r
+ * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
+ * \r
* This program is free software; you can redistribute it and/or\r
* modify it under the terms of the GNU General Public License\r
* as published by the Free Software Foundation; either version 2\r
* of the License, or (at your option) any later version.\r
- *\r
+ * \r
* This program is distributed in the hope that it will be useful,\r
* but WITHOUT ANY WARRANTY; without even the implied warranty of\r
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
* GNU General Public License for more details.\r
- *\r
+ * \r
* You should have received a copy of the GNU General Public License\r
* along with this program; if not, write to the Free Software\r
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\r
* true if thread is running and we are talking to DAS registry service\r
*/\r
public boolean loadingDasSources = false;\r
-\r
- public DasSourceBrowser()\r
+ protected static String getDasRegistryURL()\r
{\r
String registry = jalview.bin.Cache.getDefault("DAS_REGISTRY_URL",\r
DEFAULT_REGISTRY);\r
jalview.bin.Cache.setProperty("DAS_REGISTRY_URL", DEFAULT_REGISTRY);\r
registry = DEFAULT_REGISTRY;\r
}\r
-\r
+ return registry;\r
+ }\r
+ public DasSourceBrowser()\r
+ {\r
+ String registry = getDasRegistryURL();\r
+ \r
registryURL.setText(registry);\r
\r
setSelectedFromProperties();\r