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

Uploaded
author timpalpant
date Mon, 13 Feb 2012 22:12:06 -0500
parents
children
comparison
equal deleted inserted replaced
1:a54db233ee3d 2:e16016635b2a
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 }