Campbell Ritchie wrote:I have added code tags. Use spaces, not tabs for indenting.
You would have to show us the details of the pause method for us to know what is going on. The usual way to pause is to use the Thread.sleep() method. Beware: that declares a checked Exception.
Campbell Ritchie wrote:I have added code tags. Use spaces, not tabs for indenting.
You would have to show us the details of the pause method for us to know what is going on. The usual way to pause is to use the Thread.sleep() method. Beware: that declares a checked Exception.
Sophie Bell wrote:Unfortunatelly, I am not sure what you mean by a timer (or, in fact, by a "dispatch thread" - nor do I know how to disable user input)
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
For my next feat, I will require a volunteer from the audience! Perhaps this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|