Class SubstanceTitlePane.HeapStatusPanel

    • Constructor Detail

      • HeapStatusPanel

        public HeapStatusPanel()
        Creates new heap status panel.
    • Method Detail

      • updateStatus

        public void updateStatus​(int currHeapSizeKB,
                                 int currTakenHeapSizeKB)
        Updates the values for this heap status panel.
        Parameters:
        currHeapSizeKB - The current heap size in kilobytes.
        currTakenHeapSizeKB - The current used portion of heap in kilobytes.
      • getPreferredWidth

        public int getPreferredWidth()
        Returns the preferred width of this panel.
        Returns:
        Preferred width of this panel.