else if (ae.getActionCommand().equals("close")) { hide(); }
    public void actionPerformed(ActionEvent ae)    {        if (ae.getActionCommand().equals("apply"))        {            DatabaseEntry de = (DatabaseEntry) entries.get(ipsTable                .getSelectedRow());            //make sure ROM is expanded            rom.expand();            de.apply();            checkAllApplied(rom);            ipsTable.repaint();        }        else if (ae.getActionCommand().equals("unapply"))        {            DatabaseEntry de = (DatabaseEntry) entries.get(ipsTable                .getSelectedRow());            //make sure ROM is expanded            rom.expand();            de.unapply();            checkAllApplied(rom);            ipsTable.repaint();        }        else if (ae.getActionCommand().equals("close"))        {            hide();        }    }