b1.addActionListener(newActionListener(){publicvoidactionPerformed(ActionEvente){b1.setEnabled(false);ththr=newth(Rarea,area,v,b2,b1);thr.start();}