diff gui/edu/unc/genomics/ToolRunner.java @ 2:e16016635b2a

Uploaded
author timpalpant
date Mon, 13 Feb 2012 22:12:06 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gui/edu/unc/genomics/ToolRunner.java	Mon Feb 13 22:12:06 2012 -0500
@@ -0,0 +1,38 @@
+package edu.unc.genomics;
+
+import java.awt.EventQueue;
+
+import javax.swing.JFrame;
+
+import org.apache.log4j.Logger;
+
+/**
+ * The main application for running the genomics toolkit gui
+ * Could do resource checking, etc. prior to startup
+ * 
+ * @author timpalpant
+ * 
+ */
+public class ToolRunner {
+	
+	private static final Logger log = Logger.getLogger(ToolRunner.class);
+
+	private JFrame frmToolRunner = new ToolRunnerFrame();
+
+	/**
+	 * Launch the application.
+	 */
+	public static void main(String[] args) {
+		EventQueue.invokeLater(new Runnable() {
+			@Override
+			public void run() {
+				try {
+					ToolRunner window = new ToolRunner();
+					window.frmToolRunner.setVisible(true);
+				} catch (Exception e) {
+					e.printStackTrace();
+				}
+			}
+		});
+	}
+}