CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2001
    Posts
    27

    Plying Audio (.wav) file on Applet

    I have one Button on my Applet and I want that when I click on Button audio file MySound.wav will play. I am using AWT for creating applet.


  2. #2
    Join Date
    Jun 1999
    Location
    Eastern Florida
    Posts
    3,877

    Re: Playing Audio (.wav) file on Applet

    Do you have documentation for the Applet class? Read about the getAudioClip() method. And also see the AudioClip class.
    The JVM doesn't support all formats of Audio files. Read the doc for your JVM to see which it will play.

    Norm
    Norm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured