repaint();
    public void listUpdated(KEY key, int index, FreerailsPrincipal p) {	if(KEY.TRAINS == key && index == trainNumber &&		p.equals(modelRoot.getPlayerPrincipal())) {	    //The train has been updated.	    this.displayTrain(this.trainNumber);	}else if(KEY.CARGO_BUNDLES == key && index == bundleID){ 	    //The train's cargo has changed.	    this.displayTrain(this.trainNumber);	}				trainViewJPanel1.listUpdated(key, index, p);    }