*/
package jalview.bin;
-import groovy.lang.Binding;
-import groovy.util.GroovyScriptEngine;
-
import jalview.ext.so.SequenceOntology;
import jalview.gui.AlignFrame;
import jalview.gui.Desktop;
import javax.swing.UIManager;
+import groovy.lang.Binding;
+import groovy.util.GroovyScriptEngine;
+
/**
* Main class for Jalview Application <br>
* <br>
*
* @param args
* open <em>filename</em>
+ * @throws InterruptedException
+ * @throws IOException
*/
public static void main(String[] args)
+ throws IOException, InterruptedException
{
instance = new Jalview();
instance.doMain(args);
/**
* @param args
+ * @throws InterruptedException
+ * @throws IOException
*/
- void doMain(String[] args)
+ void doMain(String[] args) throws IOException, InterruptedException
{
System.setSecurityManager(null);
System.out.println("Java version: "
}
try
{
- Map<String, Object> vbinding = new HashMap<String, Object>();
+ Map<String, Object> vbinding = new HashMap<>();
vbinding.put("Jalview", this);
if (af != null)
{
+ nickname + "|" + url);
if (source == null)
{
- source = new Vector<String>();
+ source = new Vector<>();
}
source.addElement(nickname);
}
System.out.println("adding source '" + data + "'");
if (source == null)
{
- source = new Vector<String>();
+ source = new Vector<>();
}
source.addElement(data);
}