Class TLcdMemoryCheckPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class TLcdMemoryCheckPanel extends JPanel
A Panel that displays information on total memory and memory used.
See Also:
  • Constructor Details

    • TLcdMemoryCheckPanel

      public TLcdMemoryCheckPanel()
  • Method Details

    • setClassTraceOn

      public static void setClassTraceOn(boolean aClassTraceOn)
      Deprecated.
      This method has been deprecated. It is recommended to use the standard Java logging framework directly.
      Enables tracing for all instances of this class. If the argument is true then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.
      Parameters:
      aClassTraceOn - if true then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.
    • setTraceOn

      public void setTraceOn(boolean aTraceOn)
      Deprecated.
      This method has been deprecated. It is recommended to use the standard Java logging framework directly.
      Enables tracing for this class instance. Calling this method with either true or false as argument automatically turns off tracing for all other class instances for which setTraceOn has not been called. If the argument is false then only the informative, warning and error log messages are recorded.
      Parameters:
      aTraceOn - if true then all log messages are recorded for this instance. If false, then only the informative, warning and error log messages are recorded.
    • isTraceOn

      public boolean isTraceOn()
      Deprecated.
      This method has been deprecated. It is recommended to use the standard Java logging framework directly.
      Returns true if tracing is enabled for this class.
      Returns:
      true if tracing is enabled for this class, false otherwise.
    • updateFields

      public void updateFields()
    • stop

      public void stop()
      This method should be called when this panel will no longer be used to avoid memory leaks. If you do not call this method this panel keep on checking for memory usages.
      See Also:
    • start

      public void start()
      Starts checking memory usages. This method is called in the constructor, and should only be called subsequently after a call to the stop() method.
      See Also: