javax.swing.border.TitledBorder.
javax.swing.border.TitledBorder#DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder#LEFT, javax.swing.border.TitledBorder#CENTER, javax.swing.border.TitledBorder#RIGHT, javax.swing.border.TitledBorder#LEADING, javax.swing.border.TitledBorder#TRAILING