FileDocCategorySizeDatePackage
HTMLLabelApplet.javaAPI DocExample459Sat Sep 09 19:55:22 BST 2000None

HTMLLabelApplet

public class HTMLLabelApplet extends JApplet

Fields Summary
Constructors Summary
Methods Summary
public voidinit()

  
    JLabel theText = new JLabel(
     "<html>"
     + "Hello! This is a multiline label with <b>bold</b> "
     + "and <i>italic</i> text. <P> "
     + "It can use paragraphs, horizontal lines, <hr> "
     + "<font color=red>colors</font> "
     + "and most of the other basic features of HTML 3.2</html>");
   
    this.getContentPane().add(theText);