All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vnr.awt.StatusBar

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----com.sun.java.swing.JComponent
                           |
                           +----com.sun.java.swing.JPanel
                                   |
                                   +----vnr.awt.StatusBar

public class StatusBar
extends JPanel

A status bar is a panel that typically gets added to the bottom of a window

By default it has a single label which can have it's text changed or retrieved

I need to work out a strategy of adding more components to it, maybe using a GridLayout.

Author:
dIon Gillard, February, 1998

Variable Index

 o defaultLabel
 o formatter

Constructor Index

 o StatusBar()
constructor - creates the default status bar

Method Index

 o emptyStatus()
empty the status bar
 o showStatus(String)
Show a message on the status bar

Variables

 o defaultLabel
 protected JLabel defaultLabel
 o formatter
 protected SimpleDateFormat formatter

Constructors

 o StatusBar
 public StatusBar()
constructor - creates the default status bar

Methods

 o showStatus
 public void showStatus(String msg)
Show a message on the status bar

Parameters:
msg - The text to show on the statusBar
 o emptyStatus
 public void emptyStatus()
empty the status bar


All Packages  Class Hierarchy  This Package  Previous  Next  Index