public void actionPerformed(ActionEvent e) {

        if(e.getSource()==cl)
        {
            System.exit(n);
        }
        if(e.getSource()==gd)
        {
            JOptionPane.showMessageDialog(null,info);
        }
        if(e.getSource()==cop)
        {
            JOptionPane.showMessageDialog(null,"What are you planning to copy in a game?");
        }
        if(e.getSource()==ct)
        {
            JOptionPane.showMessageDialog(null,"What are you planning to cut in a game?");
        }
        if(e.getSource()==pas)
        {
            JOptionPane.showMessageDialog(null,"What are you planning to paste in a game?");
        }
        if (e.getSource()==prop)
        {
            JOptionPane.showMessageDialog(null,"Mario With a Chance of Meatballs\nVersion 1.7\nGame Developer - Devesh\nPlease give feedback!");
        }
        if (e.getSource()==con)
        {
            JOptionPane.showMessageDialog(null,"CONTROLS:\nMove Mario = Left and Right\nFire Missiles = Space\nCheat Codes = Find out!");
        }
        if (e.getSource()==ho)
        {
            JOptionPane.showMessageDialog(null,hm.getHighscoreString());
        }
        if (e.getSource()==ms)
        {
            JOptionPane.showMessageDialog(null,"Why thank you very much!");
        }
    }