See if the javax.swing.Timer helps you. You can schedule something for a future time and it will sleep until the time and then do the thing. If this is your only scheduled event it might be overkill. You might start a
thread that does something like this in a forever loop:
No guarantees anything there is spelled right or easy to do
but hope it gives you some inspiration.