This applet contains a semantic error. Because its Button variable is declared locally in the init() method, no action is taken when the button is clicked. See the sourcecode for details and futher comments.
SemanticError.java