Is there a way to create horizontally centered text for a JTextArea like with a JTextField?
setHorizontalAlignment(JTextField.CENTER);
Is there a way I can accomplish the same thing with a multi-line text area? I can't find a method for it with JTextArea, so is there another option? JTextPane? If so, how?