title: How to load different games through a main menu (Java)
body: <p>I am new to making a simple, offline Java game which consists of a few mini games with basic GUI (Swing). How does one go about loading different mini games through a main menu? For example, if I was making a website, I can put hyperlinks on the main page to link to different pages. Would one clear the screen first and then load the class which contains the game and its graphical contents?</p>
  
  <p>Thank you for your help.</p>