JLabel Text Center

JLabel label = new JLabel("The Label", SwingConstants.CENTER);
HydroBrodo