Add some println() statements to the code that will print out a message when they are executed. You need to see if the code in the actionPerformed() method is being executed. If the message is not...
Type: Posts; User: Norm
Add some println() statements to the code that will print out a message when they are executed. You need to see if the code in the actionPerformed() method is being executed. If the message is not...
Does the println message you added in the actionPerformed() method print when the exit button is pressed?
Where is the if statement you just posted located inside of the actionPerformed method?...
There are many ways for code to not work. Can you explain what happens when you execute the code?
Add a call to the println method first thing in the method to see if it is called.
Make a list of the problems and work through them one at a time.
What is the first problem that you are working on?