Class MemoryMonitor

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class MemoryMonitor extends JPanel
Panel that tracks the allocated and used heap memory and displays it as bar and history graph. It also offers a button to trigger a garbage collection and a check box to print the used memory with a time stamp to System.out.
Author:
Sun
See Also:
  • Field Details

  • Constructor Details

    • MemoryMonitor

      public MemoryMonitor()
      Creates the monitor panel and starts the sampling thread.