import java.awt.*;
import java.applet.*;
/*
<applet code="TestApplet19_04" width=200 height=150></Applet>
*/
public class TestApplet19_04 extends Applet{
TextArea textArea = new TextArea();
/* コンストラクタ */
public TestApplet19_04(){
textArea.insert("Constructor\n", 0);
}
public void init(){
setLayout(new BorderLayout());
add(textArea, BorderLayout.CENTER);
textArea.insert("init\n", 0);
}
public void start(){
textArea.insert("start\n", 0);
}
public void stop(){
textArea.insert("stop\n", 0);
}
public void destroy(){
textArea.insert("destroy\n", 0);
}
}
|