g.drawRect(x, y, width, height);
}
private void drawDetailInformation(Graphics g, Long unitID,
int x, int y, int width) {
MapObjectReader moReader = gameData.getMapObjectReader();
if (moReader.asMapObjectAvailable(unitID)) {
MapObject mo = moReader.getAsMapObject(unitID);
detailPainter.set(g, x, y, mo);
try {
detailCaller.callV(detailPainter, mo);
} catch (MethodCallerException e) {
Messages.getMessages().err("DetailedUnitInfoComponent", "Problem with "