要求是运行时出一个HTML页面并在这个页面中显示Hello world!(字体颜色什么的都不限)
但是我运行的时候老是说什么加载错误,请问这个程序到底什么地方出毛病了?import java.applet.*;
import javax.swing.*;import java.awt.*;public class helloApplet extends Applet {
private JLabel label;
private JPanel panel;
public helloApplet()
{
super();
label = new JLabel();
panel = new JPanel();

}
public void init()
{

label.setText("Hello World!");
label.setForeground(Color.WHITE);
panel.setSize(400, 200);
panel.setBackground(Color.CYAN);
panel.add(label, FlowLayout.LEFT);
this.add(panel, BorderLayout.LINE_END);
this.setVisible(true);
}
多谢!
public static void main(String[] args) {

helloApplet hello = new helloApplet();
hello.init();
hello.start();


}}