summaryrefslogtreecommitdiff
path: root/app/xlockmore/etc/xlock.java
diff options
context:
space:
mode:
Diffstat (limited to 'app/xlockmore/etc/xlock.java')
-rw-r--r--app/xlockmore/etc/xlock.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/xlockmore/etc/xlock.java b/app/xlockmore/etc/xlock.java
new file mode 100644
index 000000000..7602ba30f
--- /dev/null
+++ b/app/xlockmore/etc/xlock.java
@@ -0,0 +1,28 @@
+// charles vidal 28.08.97 <cvidal@ivsweb.com>
+// the main file , with the main class
+// to compile javac xlock.java
+// to launch java xlock
+// in a browser you could show the GUI but , not launch the program
+
+import java.awt.*;
+import xlockFrame;
+
+class xlock extends java.applet.Applet
+{
+int isapp=0;
+public void init(){
+Frame theAppWindow = new Frame("FrameTest");
+xlockFrame theApplet = new xlockFrame();
+theApplet.init();
+theApplet.start();
+theAppWindow.add("Center",theApplet);
+theAppWindow.resize(350,400);
+theAppWindow.show();
+}
+public static void main(String args[]) {
+xlock xpj = new xlock();
+xpj.init();
+xpj.start();
+}
+
+}