code: public Timer createTimer()
     {
        Timer t = new Timer(true);
  
        if (timers == null)
           timers = new ArrayList<Timer>();
  
        timers.add(t);
  
        return t;
     }
docs: Create a timer
  @return The timer