public void redo(){
  if (board_is_read_only || !(interactive_state instanceof StateMenu))   return;
  TreeSet<Integer> changed_nets=new TreeSet<Integer>();
  if (r_board.redo(changed_nets)) {
    for (    Integer changed_net : changed_nets) {
      update_ratsnest(changed_net);
    }
    screen_messages.set_status_message(resources.getString("redo"));
  }
 else {
    screen_messages.set_status_message(resources.getString("no_more_redo_possible"));
  }
  actlog.start_scope(LogfileScope.REDO);
  repaint();
}

public void redo ( ) { if ( board_is_read_only || ! ( interactive_state instanceof StateMenu ) ) return ; TreeSet < Integer > changed_nets = new TreeSet < Integer > ( ) ; if ( r_board . redo ( changed_nets ) ) { for ( Integer changed_net : changed_nets ) { update_ratsnest ( changed_net ) ; } screen_messages . set_status_message ( resources . getString ( "redo" ) ) ; } else { screen_messages . set_status_message ( resources . getString ( "no_more_redo_possible" ) ) ; } actlog . start_scope ( LogfileScope . REDO ) ; repaint ( ) ; }
restores the sitiation before the last undo .
