@SuppressWarnings("deprecation")
	private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {
		
		if(ut.tc.speedFlag!=0)
		{
			int resultFlag=JOptionPane.showConfirmDialog(null,"Ѿ׹"+ut.tc.speedFlag+"ΣҪ "+(80+ut.tc.speedFlag*160)+"ңܹǷ" , "̳Ϣ",JOptionPane.YES_NO_OPTION );
			if(resultFlag==JOptionPane.YES_OPTION){
				if(ut.moneyNum.MoneyNumber>=(80+ut.tc.speedFlag*160)){
					
					ut.addSpeed();
					ut.moneyNum.MoneyNumber-=(80+ut.tc.speedFlag*160);
					jTextField1.setText(String.valueOf(ut.moneyNum.MoneyNumber));
					ut.tc.speedFlag++;
					//JOptionPane.showMessageDialog(null,"׳ɹ","̳Ϣ",JOptionPane.YES_NO_CANCEL_OPTION);
					int result=JOptionPane.showConfirmDialog(null,"׳ɹǷף" , "̳Ϣ",JOptionPane.YES_NO_OPTION );
					if(result==JOptionPane.NO_OPTION){
						this.dispose();
						ut.tc.threadRobot.resume();
						ut.tc.threadRepaint.resume();
					}
					//tc.threadRobot.resume();
					}
					else{
						int result2=JOptionPane.showConfirmDialog(null, "ǸĽҲ㣬δɹǷ˳̳ǣ", "̳Ϣ", JOptionPane.YES_NO_OPTION);// TODO add your handling code here:
						if(result2==JOptionPane.YES_OPTION){
						this.dispose();
						ut.tc.threadRobot.resume();
						ut.tc.threadRepaint.resume();
						}
					}
			}
		}
		else {
			if(ut.moneyNum.MoneyNumber>=(80+ut.tc.speedFlag*160)){
				
				ut.addSpeed();
				ut.moneyNum.MoneyNumber-=(80+ut.tc.speedFlag*160);
				jTextField1.setText(String.valueOf(ut.moneyNum.MoneyNumber));
				ut.tc.speedFlag++;
				//JOptionPane.showMessageDialog(null,"׳ɹ","̳Ϣ",JOptionPane.YES_NO_CANCEL_OPTION);
				int result=JOptionPane.showConfirmDialog(null,"׳ɹǷף" , "̳Ϣ",JOptionPane.YES_NO_OPTION );
				if(result==JOptionPane.NO_OPTION){
					this.dispose();
					ut.tc.threadRobot.resume();
					ut.tc.threadRepaint.resume();
				}
				//tc.threadRobot.resume();
				}
				else{
					int result2=JOptionPane.showConfirmDialog(null, "ǸĽҲ㣬δɹǷ˳̳ǣ", "̳Ϣ", JOptionPane.YES_NO_OPTION);// TODO add your handling code here:
					if(result2==JOptionPane.YES_OPTION){
					this.dispose();
					ut.tc.threadRobot.resume();
					ut.tc.threadRepaint.resume();
					}
				}
		}
		
		// TODO add your handling code here:// TODO add your handling code here:
	}