FileDocCategorySizeDatePackage
HtmlLabel.javaAPI DocExample650Thu Oct 24 20:14:20 BST 2002None

HtmlLabel

public class HtmlLabel extends JPanel

Fields Summary
public static final String
markup
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] argv)


       
    JPanel p = new JPanel(new java.awt.GridLayout(0, 1));
    p.add(new JLabel(markup));
    p.add(new java.awt.Label(markup));

    JFrame f = new JFrame("HtmlLabel");
    f.setContentPane(p);
    f.setSize(600, 200);
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.setVisible(true);