Class MessageFrame

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class MessageFrame extends JFrame
MessageFrame displays text messages. The static MessageFrame object displays logger messages when a program is run as a applet.
Version:
1.0
Author:
W. Christian
See Also:
  • Method Details

    • showLog

      public static JFrame showLog(boolean b)
      Shows the static APPLET_MESSAGEFRAME that is being used to show logger messages in applet mode.
      Parameters:
      b - boolean
    • isLogVisible

      public static boolean isLogVisible()
      Gets the visible property.
      Returns:
      boolean
    • clear

      public static void clear()
      Clears the text.
    • setLevel

      public static void setLevel(Level level)
      Sets the logger level;
      Parameters:
      level - Level
    • getLevelValue

      public static int getLevelValue()
      Gets the logger level value.
      Returns:
      the current level value
    • severe

      public static void severe(String msg)
      Logs an severe error message.
      Parameters:
      msg - String
    • warning

      public static void warning(String msg)
      Logs a warning message.
      Parameters:
      msg - String
    • info

      public static void info(String msg)
      Logs an information message.
      Parameters:
      msg - String
    • config

      public static void config(String msg)
      Logs a configuration message.
      Parameters:
      msg - String
    • fine

      public static void fine(String msg)
      Logs a fine debugging message.
      Parameters:
      msg - String
    • finer

      public static void finer(String msg)
      Logs a finer debugging message.
      Parameters:
      msg - String
    • finest

      public static void finest(String msg)
      Logs a finest debugging message.
      Parameters:
      msg - String