505152535455565758
* * @param universe the new universe to display */ public void changeUniverse(Universe universe) { mainPanel = null; mainPanel = new MainPanel(universe); setContentPane(mainPanel); validate(); }
525354555657585960
* * @param universe the new universe to display */ public void changeUniverse(UniverseContext universeContext) { mainPanel = null; mainPanel = new MainPanel(universeContext); setContentPane(mainPanel); validate(); }