mpR2.setString(Integer.toString(en.getRunMP()));
mpR2.setString(en.getRunMPasString());
    public void setEntity(Entity en) {    	    	String s = en.getShortName();    	mechTypeL1.setVisible(false);    	    	if(s.length() > MAX_STR_LENGTH){    		int i = s.lastIndexOf(" ", MAX_STR_LENGTH);    		mechTypeL0.setString(s.substring(0,i));            mechTypeL1.setString(s.substring(i).trim());            mechTypeL1.setVisible(true);    	} else {    		mechTypeL0.setString(s);    		mechTypeL1.setString("");    	}    	    	        statusR.setString(en.isProne() ? "prone" : "normal");        playerR.setString(en.getOwner().getName());        teamR.setString(en.getOwner().getTeam() == 0 ? "No Team" : "Team " + en.getOwner().getTeam());        weightR.setString(Integer.toString((int)en.getWeight()));        pilotR.setString(en.crew.getDesc());                if (en.mpUsed > 0) {        	mpR0.setString("("+ en.mpUsed + " used)");        } else {        	mpR0.setString("");        }        mpR1.setString(Integer.toString(en.getWalkMP()));        mpR2.setString(Integer.toString(en.getRunMP()));        mpR3.setString(Integer.toString(en.getJumpMPWithTerrain()));        curMoveR.setString(en.getMovementString(en.moved) + (en.moved == en.MOVE_NONE ? "" : " " + en.delta_distance));                int heatCap = en.getHeatCapacity();        int heatCapWater = en.getHeatCapacityWithWater();        String heatCapacityStr = Integer.toString(heatCap);                if ( heatCap < heatCapWater ) {          heatCapacityStr = heatCap + " [" + heatCapWater + "]";        }                heatR.setString(Integer.toString(en.heat) + " (" + heatCapacityStr + " capacity)");                if (en instanceof Infantry){        	heatL.setVisible(false);        	heatR.setVisible(false);        } else {        	heatL.setVisible(true);        	heatR.setVisible(true);        }            }