Search code examples
javaswingjtextfield

What is the difference between JTextField.LEADING and JTextField.LEFT?


I haven't found this anywhere before now.

JTextField can be found in javax.swing . When I used both options, they appeared to have the same effect.

Are there any notable differences?


Solution

  • LEADING will be left or right, depending on your locale. Some folks write right-to-left.