Class SymbolTableWindow

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

public class SymbolTableWindow extends JInternalFrame
Represents the symbol table window, which is a type of JInternalFrame. Venus user can view MIPS program labels and their addresses.
Author:
Sanderson and Team JSpim
See Also:
  • Constructor Details

    • SymbolTableWindow

      public SymbolTableWindow(VenusUI gui)
      Constructor for the symbol table window.
  • Method Details

    • setupTable

      public void setupTable()
      Initialize table of labels (symbol table).
    • clearWindow

      public void clearWindow()
      Clear the window.
    • updateLabelAddresses

      public void updateLabelAddresses()
      Method to update display of label addresses. Since label information doesn't change, this should only be done when address base is changed. (e.g. between base 16 hex and base 10 dec).
    • updateUI

      public void updateUI()
      For whatever reason, FlatLaf seems to forget what the frame icon is set to after this method is called. So, this method has been overwritten to set the frame icon back to null as desired.
      Overrides:
      updateUI in class JInternalFrame