News

Launch your Java editor and open ... field1.setHorizontalAlignment(JTextField.LEFT);Replace "field1" in the example with the name of your JTextField control. Add the JTextField control to the ...