public AnnoyingBeep(Graphics k,int f,int t1)
    {
    	l=k;
    	s1=t1;
    	numWarningBeeps=f;
        toolkit = Toolkit.getDefaultToolkit();
        timer = new Timer();
        timer.schedule(new RemindTasks1(),
                       0,        //initial delay
                       1*1000);  //subsequent rate
    }