FileDocCategorySizeDatePackage
StatusBarSimulator.javaAPI DocExample773Mon Jan 09 11:01:58 GMT 2006None

StatusBarSimulator

public class StatusBarSimulator extends Object

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

        try {
            UIManager.setLookAndFeel(new WindowsLookAndFeel());
        } catch (Exception e){

        }

        JFrame frame = new JFrame();
        frame.setBounds(200,200, 600, 200);
        frame.setTitle("Status bar simulator");

        Container contentPane = frame.getContentPane();
        contentPane.setLayout(new BorderLayout());

        JStatusBar statusBar = new JStatusBar();
        contentPane.add(statusBar, BorderLayout.SOUTH);

        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.show();