Article View: borland.public.jbuilder.java.api
Article #3309Re: Audio in NON-APPLET
From: John Zukowski
Date: Mon, 16 Feb 1998 00:00
Date: Mon, 16 Feb 1998 00:00
26 lines
1574 bytes
1574 bytes
In Java 1.0/1.1, there is no 'standard' way to do this. You CAN use the
sun.audio classes, when they are available. But they aren't available in
all JDK's, only those based on Suns. For code to do this, download the
source that comes with my Java AWT Reference book from O'Reilly (see URL
in .sig).
J
Sandy Ganz wrote:
>
> This may be a trivial question, but can and how is playing a sound.au
> file done if you are not using an applet? The play() and related
> AudioClip stuff works fine, but I can't get it working in something that
> is not an applet. This may be so easy, that I just can't get it figured
> out ;-)
--
public class jaz extends JohnZukowski implements MageLangInstitute {
Email jaz@ultranet.com || jaz@magelang.com ;
Webpage http://www.magelang.com || http://java.miningco.com ;
Author Borland_JBuilder_No_Experience_Required ;
Webpage http://www.sybex.com/cgi-bin/nxr_new.pl?2135 ;
Author Java_AWT_Reference ;
Webpage http://www.ora.com/catalog/javawt/ ;
}
Technical Details
Message-ID:
<34E7D495.432E@zukowski.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<34DF8F13.4EE25F51@wgn.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,e8f08c9a23623a96 X-Google-Attributes: gid1089d0,public From: John Zukowski <jaz@zukowski.net> Subject: Re: Audio in NON-APPLET Date: 1998/02/16 Message-ID: <34E7D495.432E@zukowski.net> X-Deja-AN: 325457618 Content-Transfer-Encoding: 7bit References: <34DF8F13.4EE25F51@wgn.net> Mime-Version: 1.0 To: sganz@wgn.net Content-Type: text/plain; charset=us-ascii Organization: MageLang Institute - http://www.magelang.com Newsgroups: borland.public.jbuilder.java.api