File: xlock.java

package info (click to toggle)
xlockmore 1%3A5.02-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 8,676 kB
  • ctags: 12,741
  • sloc: ansic: 105,468; cpp: 3,216; makefile: 2,255; sh: 1,908; tcl: 1,333; java: 471; perl: 434
file content (28 lines) | stat: -rw-r--r-- 639 bytes parent folder | download | duplicates (2)
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
// charles vidal 28.08.97 <vidalc@club-internet.fr>
// 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();
}

}