0

Need code for displaying text in a label after typing it and hitting a button.

with button, text field and label.

29th Mar 2017, 2:05 PM
Derrick Kuria
Derrick Kuria - avatar
2 Antworten
+ 11
Which gui api? And what about your tag 'iterators'?
29th Mar 2017, 6:17 PM
Tashi N
Tashi N - avatar
+ 3
public void buttonNameActionPerformed(java.awt.event.ActionEvent evt){ label.setText("Hello World");}
29th Mar 2017, 6:23 PM
Meharban Singh
Meharban Singh - avatar