Added some Java for the button.