/*  StatusBar.java
 *
 *  This class is the simple status bar that appears 
 *  at the bottom of the screen.
 *
 *  Author: Michael A. Piskuric (2537405) Summer 2005
 */

import javax.swing.*;
import java.awt.*;
import java.awt.event.*;

public class StatusBar extends JLabel {
   
    private TeachVAL parent;        // parent window
    
    // create a simple statusbar and add it to the window
    public StatusBar (TeachVAL tv) {    		
        parent = tv;
        setPreferredSize(new Dimension(parent.getWidth(),30));
        setText("Ready");
        parent.add(this);    		
   }    	
}   // end ststusBar