[问答题] 程序如下: ∥Java_3. java import java. awt. *; import javax, swing. *; ∥********** Found **
19 查阅
[问答题]
程序如下:
∥Java_3. java
import java. awt. *;
import javax, swing. *;
∥********** Found **********
public class Java_3 ( 5 ) JApplet{
∥********** Found **********
public void ( 6 ) ( ){
Container contentPane=getContentPane( );
JLabel label=new JLabel("Java的诞生是对传统计算模式的挑战!", SwingConstants. CENTER);
∥********** Found **********
contentPane, add ( ( 7 ) );
}
}
∥Java_3. html
<html>
<applet code="Java_3. class"width=300 height=50>
</applet>
</html>
参考答案: