}
public void Refresh(int intNum)
{
jBtn.setText(intNum/1000+" second");
}
public static void main(String[] args)
{
Frame1 fm = new Frame1();
fm.setVisible(true);
fm.addWindowListener(new WindowAdapter()
{
public void windowClosing(WindowEvent e)
{
System.exit(0);
}
});
}
}
class ReplyTimeThread extends Thread
{
Frame1 me;
public int randomNum;
Random randomTest = new Random();
public ReplyTimeThread(Frame1 me)
{
this.me = me;
}