Class StatusBar

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class StatusBar extends JPanel
A status bar can be used to display important application information.
See Also:
  • Field Details

    • textl

      protected JLabel textl
      The text label.
    • timeout

      protected long timeout
      The timeout.
    • timer

      protected Timer timer
      The timer.
    • components

      protected Map components
      The components.
  • Constructor Details

    • StatusBar

      public StatusBar()
      Create a new status bar.
  • Method Details

    • setText

      public void setText(String text)
      Set the text of the status bar.
    • addStatusComponent

      public void addStatusComponent(Object id, Component comp)
      Add a status component.
    • getStatusComponent

      public Component getStatusComponent(Object id)
      Get a status component.
    • removeStatusComponent

      public void removeStatusComponent(Object id)
      Remove a status component.
    • layoutComponents

      protected void layoutComponents()
      Relayout components after components have been added or removed.
    • main

      public static void main(String[] args)
      Main for testing.