Let's say the user types something into the JTextField.
I want to retrieve it.
I make an action listener, etc, so the user types something in, clicks "submit", and I take in what they wrote from the JTextField.
Now, after they submit, I kind of want all the text fields to become empty again.
How do I do that? I looked at the JTextField API but there didn't seem to be any methods that erase a text field. What should I do?