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