🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #12527

Audio in JDK1.2

#12527
From: Rima Parikh
Date: Thu, 17 Dec 1998 00:00
12 lines
883 bytes
Hi :

I have an application in which I let users play songs(.wav files) using
Applet.newAudioClip() and then audioClip.play(). As it plays I change the
play button to a stop button using which user can stop the play. the problem
is how to know  when the end of the file is reached i.e when the playing
stops? I need to change the stop button back to the play button.

Any help, greatly appreciated,
Thanks In Advance

Rima Parikh.
Technical Details
Message-ID: <75bvlk$9m9@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,ca48e88e74b25eb0,start
X-Google-Attributes: gid111d45,public
From: "Rima Parikh" <parikh@cognicity.com>
Subject: Audio in JDK1.2
Date: 1998/12/17
Message-ID: <75bvlk$9m9@forums.borland.com>
X-Deja-AN: 423398472
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3