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