title: Dynamic Clock in java
body: <p>I want to implement a clock within my program to diusplay the date and time while the program is running. I have looked into the <code>getCurrentTime()</code> method and <code>Timer</code>s but none of them seem to do what I would like. </p>
  
  <p>The problem is I can get the current time when the program loads but it never updates. Any suggestions on something to look into would be greatly appreciated!</p>