super.init(); Button bx = new Button("Another"); bx.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent evt) { startThread(); } }); add(bx);