Java does not have a Status Bar class in Swing. You need to create your own status bar. The following class creates a trouble-free status bar using JLabel. You can improve it based on your requirements:
Code:
public class StatusBar extends JLabel
{
/** Creates a new instance of StatusBar */
public StatusBar() {
super();
super.setPreferredSize(new Dimension(150, 35));
setMessage("hi");
}
public void setMessage(String message) {
setText(" "+message);
}
}
You can use this...