listCells.clear(); for (int i = 0; i < listModel.getSize(); i++) { TrainOrderJPanel toj = new TrainOrderJPanel(); toj.setup(modelRoot, null); listCells.add(toj); }
    public void display(int trainNumber){        this.trainNumber = trainNumber;	if (trainNumber >= 0) {	    TrainModel train = (TrainModel) w.get(KEY.TRAINS, trainNumber,		    modelRoot.getPlayerPrincipal());	    scheduleIterator = train.getScheduleIterator();	    listModel = new TrainOrdersListModel(modelRoot, trainNumber);	    orders.setModel(listModel);	    // orders.setFixedCellWidth(250);	    listModel.fireRefresh();	    enableButtons();	} else {	    disableButtons();	}    }