Hi.
I've made a little game in a JFrame, and when you complete the game it comes up a button saying "Restart". Currently, if i press that button it creates a new JFrame with the game on it, but how do i do so that the program simply restarts?
/Thanks