If it still matters ....
To center the text in the button,
override paint in FixedWidthButtonField with something like:
Font font = Font.getDefaultFont();
int textWidth = font.stringWidth(getLabel());
g.drawText(getLabel(), (width - textWidth) / 2, 0);
|