home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Gallery
/
INTERGAL.bin
/
intergal
/
prgs
/
idv21
/
data.z
/
WidgetApplet.java
< prev
next >
Wrap
Text File
|
1996-04-22
|
352b
|
23 lines
import java.awt.*;
import java.applet.*;
public class WidgetApplet extends Applet {
MyCanvas mc;
public void init() {
String widgetname = getParameter("WIDGET");
if(widgetname!=null) {
add( mc = new MyCanvas(widgetname) );
}
}
public void start() {
mc.start();
}
public void stop() {
mc.stop();
}
}