summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/JRummikub.java
blob: 61da8d03cad0b60a50e9894c4a9291917779284b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package jrummikub;

import javax.swing.UIManager;

import jrummikub.control.ApplicationControl;
import jrummikub.view.impl.View;

/**
 * The main class
 */
public class JRummikub {

	/**
	 * The main method
	 * 
	 * @param args
	 *          command line arguments
	 */
	public static void main(String[] args) {
		String nativeLF = UIManager.getSystemLookAndFeelClassName();

		try {
			UIManager.setLookAndFeel(nativeLF);
		} catch (Exception e) {
		}

		View view = new View();

		ApplicationControl appControl = new ApplicationControl(view);
		appControl.startApplication();

	}

}