Home     |     Java    |     Php General    |     Oracle Database    |     Oracle Server  

MS Dynamics CRM 3.0

  •  Setting up and Configuring Microsoft Dynamics CRM 3.0
  •  Managing Security and Information Access
  •  Entity Customization: Concepts and Attributes
  •  Entity Customization: Forms and Views
  •  Entity Customization: Relationships, Custom Entities, and Site Map
  •  Reporting and Analysis
  •  Workflow
  •  Server-Side SDK
  •  Client-Side SDK
  •  Integration with External Applications
  • Cervo Technologies
    The Right Source to Outsource

    Sharepoint Portal Server KB

    Microsoft CRM Info

    WPF Interview Questions

    SilverLight Interview Qs

    Asp.Net 2.0 Interview Qs

    Asp.NET 1.1 FAQs

    Oracle Interview Questions

    SAP Interview Questions

    Java Programming

    Query about applet!


    Hello Everybody:
    I write an applet to broadcast sound file,the sentences which are used
    to achive this goal are:
    AudioClip sound = getAudioClip(getDocumentBase(),"folder.wav");
    sound.loop();

    I can hear the voice through appletviewer,but when it comes to my
    firefox,I could not get any voice,why?
    I think here might have some settings of my firefox worked,then what are
    they?

    Thank you!
    Dowson.

    On May 14, 6:03 pm, Jack Dowson <jckd@aol.com> wrote:

    > Hello Everybody:
    > I write an applet to broadcast sound file,the sentences which are used
    > to achive this goal are:
    > AudioClip sound = getAudioClip(getDocumentBase(),"folder.wav");
    > sound.loop();

    > I can hear the voice through appletviewer,but when it comes to my
    > firefox,I could not get any voice,why?
    > I think here might have some settings of my firefox worked,then what are
    > they?

    > Thank you!
    > Dowson.

    Are other parts of the applet viewable on the Firefox browser?
    Jack Dowson wrote:

    ..

    >I write an applet

    I recommend you don't.  My estimation is that you
    do not yet have a good grasp of core Java and GUI'd
    applications, and I would recommend a sound
    knowledge of both before attempting applets.

    >..to broadcast sound file, ..

    Embedding sound files in web pages?  That is
    very 'last millenium'.  The visitors will hate it.
    ..

    >I can hear the voice through appletviewer,but when it comes to my
    >firefox,I could not get any voice,why?

    Do you get any stacktrace?  Why not?
    Do you see the Java console?  

    If not, enable it from the Java Control Panel.  See..
    Start | Settings | JCP | Advanced (tab) | Java Console (item)
    .make sure it is set to.. 'Show Console'.

    --
    Andrew Thompson
    http://www.athompson.info/andrew/

    Message posted via http://www.javakb.com

    > Are other parts of the applet viewable on the Firefox browser?

    Thank you.Other parts are viewable.
    Dowson.

    > I recommend you don't.  My estimation is that you
    > do not yet have a good grasp of core Java and GUI'd
    > applications, and I would recommend a sound
    > knowledge of both before attempting applets.

    Thanks for your advice to the point,really.

    > Do you get any stacktrace?  Why not?
    > Do you see the Java console?  

    > If not, enable it from the Java Control Panel.  See..
    > Start | Settings | JCP | Advanced (tab) | Java Console (item)
    > .make sure it is set to.. 'Show Console'.

    You are really experienced,the voice came out.
    Why?
    Thank you.
    Dowson.

    I can't determine if that "Why?" is sarcasm or not,
    so I'll answer as if it isn't... ;-)

    Are you asking Why to Andrew's questions about stacktrace
    and console?

    * Why stacktrace is important: Because it might contain the
      exact information on what went wrong.
    * If you don't get any stacktrace, why not? It might be that
      your code catches and supress any error messages it shouldn't.
      Thereby hiding what went wrong.
    * Do you see the Java console? Because Applets shows it's
      stacktraces in the Java console window, so you need it
      for debugging.

    HTH...

    --
    Dag.

    Above all,thank you for your answer.

    > I can't determine if that "Why?" is sarcasm or not,
    > so I'll answer as if it isn't... ;-)

    Of course it's not a satire.I never do that.

    > * Why stacktrace is important: Because it might contain the
    >   exact information on what went wrong.
    > * If you don't get any stacktrace, why not? It might be that
    >   your code catches and supress any error messages it shouldn't.
    >   Thereby hiding what went wrong.
    > * Do you see the Java console? Because Applets shows it's
    >   stacktraces in the Java console window, so you need it
    >   for debugging.

    Thank you again.
    Dowson.
    Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc