import java.util.TimerTask;

public class killtask extends TimerTask{

	Process proc;
	 public killtask(Process proc)
	 {
		this.proc = proc; 
	 }
	@Override
	public void run() {
		// TODO Auto-generated method stub
	    System.out.println("Killing task");
		proc.destroy();
	}

}
