Class MemoryUsageAndHistoryMonitor.Panel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
be.gaudry.swing.component.monitor.MemoryUsageAndHistoryMonitor.Panel
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Enclosing class:
MemoryUsageAndHistoryMonitor

public static class MemoryUsageAndHistoryMonitor.Panel extends JPanel
A panel composed of a Usage instance and a History instance.
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • Panel

      public Panel()
      Creates a new memory monitor panel, composed of a Usage instance and a History instance. The time beetween two repaints is 1s.
    • Panel

      public Panel(long time)
      Creates a new memory monitor panel, composed of a Usage instance and a History instance. The repaint thread must be started by hands.
      Parameters:
      time - The time beetween two repaints in ms.
  • Method Details