Originally posted by J Fox:
i tried to inter-twin the 1st and 3rd step into one big class....i need imediate help lol its due at 9:30 this morning so if you have any suggestions plz
I'd suggest that
you should get an early start so if you have problems you'll have time to figure them out, but it seems a little late for that.
...do tell..i dont know if every listener is supposed to have a implemented actionlistener or if two can use the same one.....
It seems like you are asking if you need a seperate instance of a listener for every GUI object you want to assign a listener to. The answer is no. You can have different listeners for each GUI object or you can use the same one (in which case you have to differentiate between the different objects which can fire that event).
can the "ButtonListener" in the code be anything you want it to be named or is there a pre-defined set of words for text fields and buttons...
well if you can help
It has to be an instance of a class which implements the interface ActionListener. How do I know? The
Java Documentation for JButton told me.