BOM backward compatibility

This commit is contained in:
bancika
2012-08-24 14:08:01 +00:00
parent 7d13dd647a
commit 4b9349fbcb
@@ -51,7 +51,7 @@ public class BOM extends AbstractComponent<Void> {
} }
g2d.setFont(LABEL_FONT); g2d.setFont(LABEL_FONT);
g2d.setColor(componentState == ComponentState.DRAGGING g2d.setColor(componentState == ComponentState.DRAGGING
|| componentState == ComponentState.SELECTED ? SELECTION_COLOR : color); || componentState == ComponentState.SELECTED ? SELECTION_COLOR : getColor());
// Determine maximum name length and maximum value length to calculate // Determine maximum name length and maximum value length to calculate
// number of columns. // number of columns.
FontMetrics fontMetrics = g2d.getFontMetrics(); FontMetrics fontMetrics = g2d.getFontMetrics();