public void scheduleOfTime() {
	    timer.schedule(new TimerTask() {
	      public void run() {
	        int i = Integer.valueOf(textarea2.getText()).intValue() - 1;
	        textarea2.setText(String.valueOf(i));

	        if (i == 0)
	        {
	          JOptionPane.showMessageDialog(centerPanel, "ʱ䵽");
	          timer.cancel();
	          timer = null;
	          showResult();
	          resetGame();
	        }
	      }
	    }
	    , 0L, 1000L);
	  }