title: java timer countdown jtable
body: <p>I'm using this method to convert minutes into time (hh:mm:ss)</p>
  
  <pre><code>public static String time(double m){
  
  
      double t = m;
      int hours = (int)t / 60;
      int minutes = (int)t % 60;
      double seconds = (t - Math.floor(t)) * 60;
      System.out.println(seconds);
      if (seconds &gt; 59){
          seconds = 00;
          minutes++;
      }
      String myFormat = seconds &gt;= 10 ? "%d:%02d:%.0f" : "%d:%02d:%.0f";
      String time = String.format(myFormat, hours, minutes, seconds);
  
      return time;
  
  }
  </code></pre>
  
  <p>the time will return as a string, then I will post it into a jTable, the jTable has more than 100 timers that should countdown too, I am thinking about if the system time increased 1 second all timers should decreased 1 second.</p>
  
  <p>any help? thank you</p>