mainWindow.show();
mainWindow.setVisible(true);
    public void show()    {        readFromRom();        EnemyEditor.readFromRom(this);        super.show();        spriteSelector.setSelectedIndex(spriteSelector.getSelectedIndex() == -1            ? 0            : spriteSelector.getSelectedIndex());        mainWindow.show();    }