I've got GridLayout-JPanel. In every cell there is a JLabel with some String. How can I right-align this text in my cells?
A couple JLabel constructors take horizontal alignment arguments. These constants are inherited from SwingConstants.
JLabel
SwingConstants