home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1999 November
/
PCWorld_1999-11_cd.bin
/
Software
/
Servis
/
JDE
/
fj2.exe
/
_SETUP.1
/
TestApplet.java
< prev
next >
Wrap
Text File
|
1999-07-11
|
517b
|
20 lines
import java.applet.*;
import java.awt.*;
// note: in order to compile the applet, you
// must set this file as "Main" - select it
// in the project window, and then press F8.
// If you want to run the application version,
// set Tester.java as main.
// To run the applet, choose "Run Applet", or press
// Shift+F5. To run the application, press F5
public class TestApplet extends Applet
{
public void init()
{
this.setLayout(new BorderLayout());
this.add(new DrawCanvas(), "Center");
}
}