StatusPanel
JStatusPanel is a Swing status bar component that consists of a message label, status label and a status indicator. Additional Swing components can be added or removed as required. The message and status text can also be displayed for a short pop duration only. The JStatusPanel class extends the Swing JPanel component.

Creation
public JStatusPanel() public JStatusPanel(int popDuration)
The default constructor creates a status panel with a default pop duration of 3 seconds. The second constructor allows you to set your preferred pop duration.
Methods
public void setMessage(String text) public String getMessage() public void clearMessage() public void setStatus(String text) public String getStatus() public void clearStatus() public void popMessage(String text) public void popStatus(String text) public void setMessageIcon(ImageIcon icon) public void clearMessageIcon() public void setStatusIcon(ImageIcon icon) public void clearStatusIcon() public void setBusyStatus(boolean status) public boolean getBusyStatus() public void setProgressValue(int value) public int getProgressValue() public void setProgressText(String text) public String getProgressText() public void addComponent(JComponent component) public void removeComponent(JComponent component)
The setMessage() and setStatus() methods set the message text and the status text respectively. Alternatively, you can display text for a short, pop duration only using popMessage() and popStatus(). A message or status indication can be text, an icon, or both. The setBusyStatus method activates/de-activates an indeterminate progressbar. Alternatively, you can also set a progress value and displayed text.
public void setPopDuration(int duration) public int getPopDuration() public void setProgressMinimum(int minimum) public int getProgressMinimum() public void setProgressMaximum(int maximum) public int getProgressMaximum() public void setProgressTextPainted(boolean state) public boolean isProgressTextPainted()
Further customization is possible for the pop duration, as well as the minimum, maximum and painted text option of the progressbar.