See the following link for a description to a logic error in the actionPerformed method - use equals() and not == when comparing strings...
Type: Posts; User: copeg
See the following link for a description to a logic error in the actionPerformed method - use equals() and not == when comparing strings...
As I said, preferably as an SSCCE...that is too much code for me to wade through. Perhaps someone else might come along and do so, but you are helping yourself if you trim it down to an SSCCE - say...
If you want further help on this topic, yes, because otherwise we cannot advise as to why 'neither is working'. And preferably post an SSCCE
How about an ActionListener...