hideModules();
    private void closeRom()    {        if (rom.isLoaded && !rom.isDirectFileIO())        {            int ques = JOptionPane.showConfirmDialog(null,                "Do you want to save your changes?", "Save?",                JOptionPane.YES_NO_CANCEL_OPTION);            if (ques == JOptionPane.CANCEL_OPTION)            {                return;            }            else if (ques == JOptionPane.YES_OPTION)            {                rom.saveRom();            }        }        doBackup();        rom.isLoaded = false;        mainWindow.setTitle(MainGUI.getDescription() + " "            + MainGUI.getVersion());        this.refreshRevertMenu();    }