package nl.tudelft.dnainator;

import javax.swing.SwingUtilities;
import javax.swing.UIManager;

import nl.tudelft.dnainator.ui.Window;

/**
 * DNAinator's entry point. This class merely sets the UI's look and feel
 * and then creates a window.
 */
public final class DNAinator {

	private DNAinator() {
		super();
	}

	/**
	 * DNAinator entry point.
	 * @param args Command-line arguments, unused for now.
	 */
	public static void main(String[] args) {
		try {
			UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
		} catch (Exception e) {
			e.printStackTrace();
		}

		/* Be thread-safe. */
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				new Window();
			}
		});
	}
}

@@ -344,16 +344,21 @@
  point.%0A
+%09 * %0A
 %09 * @par
@@ -532,16 +532,142 @@
 ame());%0A
+%09%09%09if (System.getProperty(%22os.name%22).equals(%22Mac OS X%22)) %7B%0A%09%09%09%09System.setProperty(%22apple.laf.useScreenMenuBar%22, %22true%22);%0A%09%09%09%7D%0A
 %09%09%7D catc

Use native menubar when using OS X