help...!!



we need to accomplish these goals:

create window
textfield
and button
(OK already fine)

then make your password
(done)

then user can only enter 3 times wrong password
if still wrong 3 times
the user should wait 1 minute
(how to make countdown? the algorithm please...!! ) (

OMG... we're using Swing... but that's no probs
only HOW TO MAKE COUNTDOWN
when click the button after entering the password...

OMG... help!!