Exemplo n.º 1
0
 public void refreshGUI() {
   if (displayChanges) {
     gui.setContents(instructions, visibleInstructionsLength);
     gui.setCurrentInstruction(nextPC);
   }
 }
Exemplo n.º 2
0
 // Sets the gui's contents (if a gui exists)
 private void setGUIContents() {
   if (displayChanges) {
     gui.setContents(instructions, visibleInstructionsLength);
     gui.setCurrentInstruction(nextPC);
   }
 }