Package mars.venus

Class LabelsWindow

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

public class LabelsWindow extends JInternalFrame
Represents the Labels window, which is a type of JInternalFrame. Venus user can view MIPS program labels.
Author:
Sanderson and Team JSpim
See Also:
Serialized Form
  • Constructor Details

    • LabelsWindow

      public LabelsWindow()
      Constructor for the Labels (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).