Reseting application in Java swing?

Viewed 30

I would like to reset my Swing application. For example I have a game application and I want to reset the points and start the game like the beginning. I mean I would like Java version of Javascript code below. How can we do this? Thanks:

window.location.reload(true);
0 Answers
Related