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