s.pullUp(i); sendUpdateMove(s); orders.setSelectedIndex(i-1);
TrainOrdersModel tom = immutableSchedule.getOrder(i); sendRemoveStationMove(i); if (i == 0) { sendAddStationMove(0, tom); } else { sendAddStationMove(i - 1, tom); }
    private void pullUpJMenuItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_pullUpJMenuItemActionPerformed        // Add your handling code here:        MutableSchedule s = getSchedule();        int i = orders.getSelectedIndex();        s.pullUp(i);        sendUpdateMove(s);        orders.setSelectedIndex(i-1);    }//GEN-LAST:event_pullUpJMenuItemActionPerformed