Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: Pause/Resume audio in applet

  1. #1
    Junior Member
    Join Date
    Jul 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Pause/Resume audio in applet

    Hi guys, I'm new to Java and I was hoping someone can help me regarding my sound issue. I'm trying to learn how to Pause/Resume audio in an applet and I've looked around but I just can't find any tutorial. Would it be possible to point me in the right direction? If you know of any tutorial regarding this please let me know! Thank you for your time.


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Pause/Resume audio in applet

    Thread moved.

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

    Show what you have so far - the code that builds the Applet and plays the audio.

  3. #3
    Junior Member
    Join Date
    Dec 2013
    Posts
    13
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: Pause/Resume audio in applet

    AudioClip object has three methods: play(), stop(), and loop() (which plays again and again).

  4. #4
    Junior Member
    Join Date
    Jul 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Pause/Resume audio in applet

    Yes, I realized that by researching. But I have to get it working.

  5. #5
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Pause/Resume audio in applet

    So show the code. How can we help without that?

Similar Threads

  1. resume
    By game06 in forum The Cafe
    Replies: 5
    Last Post: July 12th, 2013, 02:01 AM
  2. How to pause thread using JButton
    By pawan4angel in forum Threads
    Replies: 0
    Last Post: April 27th, 2013, 06:56 AM
  3. Threads, Audio Application, Audio loading twice error
    By dpjmie in forum What's Wrong With My Code?
    Replies: 2
    Last Post: April 19th, 2013, 01:18 PM
  4. pause while playing sound
    By huddo in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: August 23rd, 2012, 08:33 PM
  5. Pause Overlay for JScrollPane
    By NotNormal in forum What's Wrong With My Code?
    Replies: 2
    Last Post: July 6th, 2010, 09:46 AM