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