client.mechD.displayEntity(ce()); client.mechD.showPanel("movement");   client.getMenuBar().setEntity( ce() );
if ( null != ce() ) { client.mechD.displayEntity(ce()); client.mechD.showPanel("movement");   client.getMenuBar().setEntity( ce() ); }
    public void selectEntity(int en) {                // hmm, sometimes this gets called when there's no ready entities?        if (client.game.getEntity(en) == null) {            System.err.println("DeploymentDisplay: tried to select non-existant entity: " + en);            return;        }        // okay.        if (ce() != null) {        	ce().setSelected(false);        }        this.cen = en;        ce().setSelected(true);        setTurnEnabled(true);        butDone.setEnabled(false);        setLoadEnabled(true);        setUnloadEnabled(true);                client.game.board.select(null);        client.game.board.cursor(null);        client.mechD.displayEntity(ce());        client.mechD.showPanel("movement");        // Update the menu bar.        client.getMenuBar().setEntity( ce() );    }