import javax.swing.*;
public class HTMLLabelApplet extends JApplet {
public void init() {
JLabel theText = new JLabel(
"Hello! This is a multiline label with bold "
+ "and italic text. "
+ "It can use paragraphs, horizontal lines,
"
+ "colors "
+ "and most of the other basic features of HTML 3.2");
this.getContentPane().add(theText);
}
}