Have you added a listener to the button? If not, review the tutorial on adding an action listener. If you have and it's not working properly, then please point us to that code.