Hey,
I got it to work. I made the GUI in a constructor method and then used main to create the new GUI. Thank You for the help :)
Type: Posts; User: pottsiex5
Hey,
I got it to work. I made the GUI in a constructor method and then used main to create the new GUI. Thank You for the help :)
Hi,
I tried using this:
ActionListener al = new ActionListener(){
public void actionPerformed(ActionEvent event){
if(event.getSource()==add){
...
Hi,
I am trying to make a code that has multiple buttons, but the only way i know how to make action listeners are to either use inner classes (which require variable to be final, which isnt good...