Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (844)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  How would I restart a class?  (Read 2119 times)
0 Members and 1 Guest are viewing this topic.
Offline K.I.L.E.R

Senior Devvie

Java games rock!

« Posted 2004-01-09 09:38:03 »

I'm finished my noughts and crosses game, almost. I gave the option to restart or quite the game after the game ends.

How would I restart my game?
I tried restarting the applet (it's in a JFrame) by calling destroy and then init method.
Doesn't work.

Any ideas?


Is there a name for a "redneck" programmer?

Unemployed. Wink
8: Undefined index: online
File: /home/jgo/public_html/Themes/default/Display.template.php (main sub template - eval?)
Line: 161