]> git.xonotic.org Git - xonotic/xonotic.git/blob - misc/tools/NexuizDemoRecorder/main/src/main/java/com/nexuiz/demorecorder/main/Driver.java
Merge branch 'master' of ssh://git.xonotic.org/xonotic
[xonotic/xonotic.git] / misc / tools / NexuizDemoRecorder / main / src / main / java / com / nexuiz / demorecorder / main / Driver.java
1 package com.nexuiz.demorecorder.main;
2
3 import com.nexuiz.demorecorder.application.DemoRecorderApplication;
4 import com.nexuiz.demorecorder.ui.swinggui.SwingGUI;
5 import com.nexuiz.demorecorder.ui.swinggui.utils.ShowErrorDialogExceptionHandler;
6
7 public class Driver {
8         
9         public static void main(String[] args) {
10                 SwingGUI.setSystemLAF();
11                 Thread.setDefaultUncaughtExceptionHandler(new ShowErrorDialogExceptionHandler());
12                 DemoRecorderApplication appLayer = new DemoRecorderApplication();
13                 
14                 SwingGUI gui = new SwingGUI(appLayer);
15                 appLayer.addUserInterfaceListener(gui);
16                 
17         }
18 }