title: java: run a function after a specific number of seconds
body: <p>I have a specific function that I want to be executed after 5 seconds.
  How can i do that in Java?</p>
  
  <p>I found javax.swing.timer, but I can't really understand how to use it. It looks like I'm looking for something way simpler then this class provides.</p>
  
  <p>Please add a simple usage example.</p>