I\'m trying to make input nameField appear in a Label called label1 after a Button called button1 is clicked
nameField
Label
label1
Button
button1
in your action performed method, call:
label1.setText(nameField.getText());
This way, when the button is clicked, label will be updated to the nameField text.