Los Alamos National Laboratory
 
 

D  Decision Applications

CONTACTS

  • Group Leader
    Kristin Omberg
  • Deputy Group Leader
    David Cremer
  • Office Administrator
    Lorraine Johnson
  • Group Office Location
    TA-52, Bldg. 115
    667-4567
    MS K551

ShowStatus

The ShowStatus class is an AWT frame that can be used to pop messages to the user. It was written before we started using the Swing library for all of our GUIs. To use the class, instantiate it, then add messages. When you are ready to show the messages to the user call either setVisible() or beepAndShow().

ShowStatus status = new ShowStatus();
status.addMessage(“Message number 1”);
status.addMessage(“Message number 2”);
status.setVisible(true);

When the ShowStatus frame loses the focus, or when the user clicks on the close button, the ShowStatus frame will be disposed of.

download button (java utilities.zip)


Operated by Los Alamos National Security, LLC for the U.S. Department of Energy's NNSA
Inside | © Copyright 2014 Los Alamos National Security, LLC All rights reserved | Disclaimer/Privacy | Web Contact