N00b question -- restarting applets?

Hello,
I am near completion of my first applet game. All that remains is displaying some “end game” stuff. In particular, I want a button that allows the player to “try again” if they lost.

I’ve inserted code on the try again button that stops all game threads, calls init() and calls start() again on the applet. This results in some screwy behavior, though.

Is it possible to restart applets this way? Is there something simpler? Or if not simpler, better? :slight_smile:

Thanks!

http://www.cafeaulait.org/course/week5/28.html

cough
google search “applet restart”
second result…
cough

:stuck_out_tongue:

If I had known I’d be coughed at, maybe I wouldn’t have asked :-\