public AudioPlayer(String fileName) {
        m_errorState = true;
        m_errorMessage = "OK";

        try {
            p = new Player(new FileInputStream(fileName));
        } catch (FileNotFoundException ex) {
            m_errorState = false;
            m_errorMessage = ex.getMessage();
        } catch (JavaLayerException ex) {
            m_errorState = false;
            m_errorMessage = ex.getMessage();
        }

    }