FileDocCategorySizeDatePackage
HTMLLabelApplet.javaAPI DocExample449Sun Dec 12 10:52:32 GMT 2004None

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);