I won't just give you code and Norm certainly won't, take some time (more than a few minutes) to look for information on getActionCommand and getSource. To get you started google "<insert method>...
Type: Posts; User: KucerakJM
I won't just give you code and Norm certainly won't, take some time (more than a few minutes) to look for information on getActionCommand and getSource. To get you started google "<insert method>...
Look into getActionCommand():
ActionEvent (Java Platform SE 7 )
That has a little description for it. Your code doesn't quite conform to what is usually seen but in terms of being able to...