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

Uploaded
author timpalpant
date Mon, 13 Feb 2012 22:12:06 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
1 package edu.unc.genomics;
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
2
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
3 import java.awt.EventQueue;
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
4
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
5 import javax.swing.JFrame;
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
6
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
7 import org.apache.log4j.Logger;
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
8
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
9 /**
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
10 * The main application for running the genomics toolkit gui
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
11 * Could do resource checking, etc. prior to startup
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
12 *
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
13 * @author timpalpant
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
14 *
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
15 */
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
16 public class ToolRunner {
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
17
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
18 private static final Logger log = Logger.getLogger(ToolRunner.class);
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
19
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
20 private JFrame frmToolRunner = new ToolRunnerFrame();
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
21
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
22 /**
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
23 * Launch the application.
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
24 */
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
25 public static void main(String[] args) {
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
26 EventQueue.invokeLater(new Runnable() {
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
27 @Override
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
28 public void run() {
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
29 try {
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
30 ToolRunner window = new ToolRunner();
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
31 window.frmToolRunner.setVisible(true);
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
32 } catch (Exception e) {
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
33 e.printStackTrace();
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
34 }
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
35 }
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
36 });
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
37 }
e16016635b2a Uploaded
timpalpant
parents:
diff changeset
38 }