title: How to make a countdown timer in Java
body: <p>I'm a beginner (student) in programming and was assigned to create a game.
  The game I'm making is called boggle.
  In which the player have to find words in a random letter board within a given time, but I'm having trouble with creating the timer.
  This is what it my timer should do:</p>
  <hr />
  <ul>
  <li>dynamic input for the time (set time)</li>
  <li>countdown from input time to 0</li>
  <li>when o =&gt; jump out of loop</li>
  </ul>
  <p>All I need to know is how to make it countdown.
  I don't think I need a ActionListener because it starts ticking the moment the class is created.</p>
  <hr />
  <p>Any help, advice, links, push in the right direction will be accepted with open arms.</p>