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 ...
Looking at your Example Blatz appears to add no value. Just pass a char around (or the Character wrapper whatever that is in java - I hate those wrappers) Having Bar take a function from char to ...