FileDocCategorySizeDatePackage
SimpleJLabelExample.javaAPI DocExample438Mon Nov 09 12:45:54 GMT 1998None

SimpleJLabelExample

public class SimpleJLabelExample extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)


        JLabel label = new JLabel("A Very Simple Text Label");

        JFrame frame = new JFrame();

        frame.addWindowListener(new BasicWindowMonitor());

        frame.getContentPane().add(label);

        frame.pack();

        frame.setVisible(true);