train.getScheduleIterator().getScheduleId());
train.getScheduleIterator().getScheduleKey().index, train.getScheduleIterator().getScheduleKey().principal);
    public void display(int newTrainID, int orderNumber){        this.trainID = newTrainID;        this.selectedOrderNumber = orderNumber;                //Set the selected station to the current station for the specified order.	TrainModel train = (TrainModel)world.get(KEY.TRAINS, this.trainID,		modelRoot.getPlayerPrincipal());	Schedule schedule = (Schedule)world.get(KEY.TRAIN_SCHEDULES,		train.getScheduleIterator().getScheduleId());	stationMapJPanel.setStationSchedule(schedule);        TrainOrdersModel order = schedule.getOrder(selectedOrderNumber);        this.selectedStationID = order.getStationNumber().index;                //Set the text on the title JLabel.        this.jLabel1.setText("Train #"+String.valueOf(trainID+1)+" Stop "+String.valueOf(selectedOrderNumber+1));                //Set the station info panel to show the current selected station.        cargoWaitingAndDemandedJPanel1.display(selectedStationID);	revalidate();    }