Пример #1
0
 private void showActionReplayDialog() {
   nes.pause();
   final ActionReplay actionReplay = nes.getActionReplay();
   if (actionReplay != null) {
     final ActionReplayGui dialog = new ActionReplayGui(this, false, actionReplay);
     dialog.setVisible(true);
   } else {
     JOptionPane.showMessageDialog(
         this, "You have to load a game first.", "No ROM", JOptionPane.ERROR_MESSAGE);
   }
   nes.resume();
 }