@Override
    public void actionPerformed(ActionEvent e) {
        String tmp = "";
        Object source = e.getSource();

        if (source == btn) {
            tmp = recherche.getText();
            System.out.println(tmp);
        }

        if (tmp.compareTo("") != 0) {
            if (tmp.compareTo("play pool") == 0) {
                try {
                    Process proc = Runtime.getRuntime().exec("java -jar BlackBall/blackBall.jar");
                } catch (IOException ex) {
                    Logger.getLogger(PanelRecherche.class.getName()).log(Level.SEVERE, null, ex);
                }
            } else {
                if (tmp.compareTo("survival island") == 0) { //survival island
                    String htmlFilePath = "Survival_Island/WebPlayer.html"; // path to your new file
                    File htmlFile = new File(htmlFilePath);
                    try {
                        java.awt.Desktop.getDesktop().browse(htmlFile.toURI());

                    } catch (IOException ex) {
                        Logger.getLogger(PanelRecherche.class.getName()).log(Level.SEVERE, null, ex);
                    }
                } else {

                    JButton jSource = (JButton) source;
                    Fenetre f = (Fenetre) jSource.getTopLevelAncestor();
                    f.page.removeAll();
                    f.nordOuest.setLayout(new BorderLayout());
                    f.nordOuest.setBorder(new EmptyBorder(5, 13, 0, 0));

                    List<Serie> res = SerieManager.getSeriesByNom(tmp);
                    try {
                        f.mesSeries = new PanelSerieScroll(f.nordOuest, res);
                    } catch (IOException ex) {
                        Logger.getLogger(PanelRecherche.class.getName()).log(Level.SEVERE, null, ex);
                    }

                    f.nordOuest.add(((PanelSerieScroll) f.mesSeries).getComboBoxTri(), BorderLayout.WEST);
                    f.page.add(f.mesSeries);
                    f.nordOuest.repaint();
                    f.nordOuest.revalidate();
                    f.page.repaint();
                    f.page.revalidate();
                }
            }
        }
    }