I can do it with a JLabel or a JButton, but can't figure out how in a JTextField. I thought I had found it (txtLonDay.setHorizontalAlignment(JTextField.CENTER)), but that doesn't work the way I want. I want all text entered in the field to be centered, and also all text that is displayed in the field, having been produced by the program. These JTextFields are serving double duty; they accept input and also display the results of processing.
Thanks in advance,
Chuck
Don't force it... Get a bigger hammer!