2004/01/19 21:21:36
[org.ibex.core.git] / src / org / xwt / plat / Linux.java
index b9b1183..5805a99 100644 (file)
@@ -1,8 +1,17 @@
-// Copyright 2003 Adam Megacz, see the COPYING file for licensing [GPL]
+// Copyright 2004 Adam Megacz, see the COPYING file for licensing [GPL]
 package org.xwt.plat;
 
 import org.xwt.*;
 
 /** Linux with an X11 display */
-public abstract class Linux extends X11 {
+public class Linux extends X11 {
+    private static Class thisClass = Linux.class;
+    public static void main(String[] s) throws Exception { Main.main(s); }
+
+    private native void fixEnvironment();
+
+    public Linux() {
+        fixEnvironment();
+    }
+
 }