In HTML, text is aligned using a property called "text-align" that can have three values: "left," "right," "center" and "justify." When you add this property to an HTML element, any text it contains ...
A JTextFiled contains alignment functions that you use to place a text box in a desired location on your form. You can align the text box along the left side of the form, the center or on the right ...