public boolean initialize( URL url )
    {
        initialized( SET, false );
        cleanup();
        
        if( url == null )
        {
            errorMessage( "url null in method 'initialize'" );
            cleanup();
            return false;
        }

        try
        {
            myAudioInputStream = AudioSystem.getAudioInputStream(
                                  new BufferedInputStream( url.openStream() ) );
        }
        catch( UnsupportedAudioFileException uafe )
        {
            errorMessage( "Unsupported audio format in method 'initialize'" );
            printStackTrace( uafe );
            return false;
        }
        catch( IOException ioe )
        {
            errorMessage( "Error setting up audio input stream in method " +
                          "'initialize'" );
            printStackTrace( ioe );
            return false;
        }

        endOfStream( SET, false );
        initialized( SET, true );
        return true;
    }