Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Pause Method For Java Game

807600Nov 15 2007 — edited Nov 15 2007
I am creating a simple java game and cannot figure out the "pause" method. I have everything set up just need the hard code for this method. I've searched these forums and the web and just found code like "Thread.sleep(1000);" but that doesn't do anything and asks for a try-catch statement.
private void pause() {
         ????
}
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 13 2007
Added on Nov 15 2007
1 comment
230 views