s = "Consumtion/Production"; // TODO externalize
gv = opPainter.createGlyphVector(g2d, s, font);
y += lineSpacing+font18Height;
x = insets.left+(int)Math.ceil((width-gv.getVisualBounds().getWidth())/2);
g2d.setColor(ColorProvider.getStringColor(((TradingOfficeDialogMataData)metaData).consumtionProduction));
g2d.drawGlyphVector(gv, x, y);
if (((TradingOfficeDialogMataData)metaData).consumtionProduction!=EStringSelectionState.DISABLE){
addOffsetPolygon(bounds, gv, x, y,"ConsumptionProductionDialog",new TradingOfficeChangeAction(ENoticeItem.TO_CONSUMPTION_PRODUCTION));
}
s = "Weapons"; // TODO externalize