jLabel:
setHorizontalAlignment
public void setHorizontalAlignment(int alignment)Sets the alignment of the label's contents along the X axis. 
This is a JavaBeans bound property.Parameters:
alignment - One of the following constants defined in SwingConstants: LEFT (the default for text-only labels), CENTER (the default for image-only labels), RIGHT, LEADING or TRAILING.