public void loadSound(String fileName)
    {
        AudioInputStream audioIn = null;
        try
        {
            URL url = Main.class.getResource(fileName);
            audioIn = AudioSystem.getAudioInputStream(url);
            Clip player = AudioSystem.getClip();
            player.open(audioIn);
            sounds.put(fileName, player);
        }// <editor-fold defaultstate="collapsed" desc="catch and try blocks">
        catch (LineUnavailableException ex)
        {
            Logger.getLogger(Sound.class.getName()).log(Level.SEVERE, null, ex);
        }        catch (UnsupportedAudioFileException ex)
        {
            Logger.getLogger(Sound.class.getName()).log(Level.SEVERE, null, ex);
        } catch (IOException ex)
        {
            Logger.getLogger(Sound.class.getName()).log(Level.SEVERE, null, ex);
        }// </editor-fold>        
    }