Update ButtonDemo.java

actionlistener updated