This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
If you aren't debugging properly sometimes what will happen is your logic is what is not working anymore and an Exception is being thrown that you cannot see. So then everytime you press the button after that initial exception it just keeps on throwing it and it would appear the buttons aren't working when in reality it's your logic that blew up.
That's all I can think of with the tiny bit of information you have provided.