Пример #1
0
 // Sets the GUI's current instruction index
 private void setGUIPC() {
   if (displayChanges) gui.setCurrentInstruction(nextPC);
 }
Пример #2
0
 public void refreshGUI() {
   if (displayChanges) {
     gui.setContents(instructions, visibleInstructionsLength);
     gui.setCurrentInstruction(nextPC);
   }
 }
Пример #3
0
 // Sets the gui's contents (if a gui exists)
 private void setGUIContents() {
   if (displayChanges) {
     gui.setContents(instructions, visibleInstructionsLength);
     gui.setCurrentInstruction(nextPC);
   }
 }