Add a listener to the button and have the listener's method copy the String from the JTextField.
Type: Posts; User: Norm
Add a listener to the button and have the listener's method copy the String from the JTextField.
Can you explain what "grab the text" means? Where do you want the String held in the JTextField to go?