Hello! How could I align the content of a JTextArea to the left? I've tried with a
setAlignmentY(this.LEFT_ALIGNMENT);
But it seems not to work.
Thank you, best regards!
Hello! How could I align the content of a JTextArea to the left? I've tried with a
setAlignmentY(this.LEFT_ALIGNMENT);
But it seems not to work.
Thank you, best regards!
Try this:
jTextField.setHorizontalAlignment(JTextField.LEFT);