Hi,
Im still relatively new to GUI. Ive seen a lot of tutorials out there, but none of them really explain what im doing, and just show examples. Im trying to learn how to make a JButton do something when you click on it.
Ive seen few examples that say to to make a new function like this:private void jButton1ActionPerformed(java.awt.event.ActionEvent evt){
but i dont really understand how that helps. Could someone tell me how to give a JButton a function, and explain what is happening in the code.
Thanks
Pottsie