home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1999 November
/
PCWorld_1999-11_cd.bin
/
Software
/
Servis
/
JDE
/
fj2.exe
/
_SETUP.1
/
MainFrame.java
< prev
next >
Wrap
Text File
|
1999-07-29
|
531b
|
33 lines
import java.awt.*;
import java.awt.event.*;
public class MainFrame extends Frame
{
public MainFrame()
{
this.addWindowListener (new WindowAdapter(){
public void windowClosing(WindowEvent e){
dispose();
System.exit(0);
}
});
}
bum = 0;
public static void main(String args[])
{
System.out.println("Starting App");
MainFrame f = new MainFrame();
f.setSize(100,100);
f.show();
}
}
class LittleClass
{
int mynum;
public LittleClass(int anum)
{
mynum = anum;
}
}