Center text in a JComponent?

Printable View