package beaform;

import java.lang.reflect.InvocationTargetException;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import beaform.gui.MainGUI;

/**
 * The main class to run this application.
 *
 * @author steven
 *
 */
public class Main {

	private static final Logger LOG = LoggerFactory.getLogger(Main.class);

	public static void main(String[] args) throws InvocationTargetException, InterruptedException {
		LOG.info("Starting GUI...");

		javax.swing.SwingUtilities.invokeAndWait(new Runnable() {

			@Override
			public void run() {
				MainGUI.createAndShowGUI();
			}
		});

		LOG.info("Initializing DB...");
		GraphDbHandlerForJTA.getInstance();

		LOG.info("Done");

	}

}

@@ -247,16 +247,33 @@
 Main %7B%0A%0A
+%09/** a logger */%0A
 %09private
@@ -336,16 +336,16 @@
 class);%0A
-
 %0A%09public
@@ -440,20 +440,21 @@
 %7B%0A%09%09LOG.
-info
+debug
 (%22Starti
@@ -614,20 +614,21 @@
 %0A%0A%09%09LOG.
-info
+debug
 (%22Initia
@@ -692,12 +692,13 @@
 LOG.
-info
+debug
 (%22Do

Lower the log levels of some output