Article View: borland.public.jbuilder.java.api
Article #3529getCodeBase() in an Application?
From: S.T.
Date: Tue, 16 Dec 1997 00:00
Date: Tue, 16 Dec 1997 00:00
14 lines
813 bytes
813 bytes
Hi, I checked the Java Dev Con and found out that one can't use getCodeBase() in an applet embedded in an application. I'm trying to play a sound file inside my application with the line: AudioClip clip = getAudioClip(getCodeBase(), "audioclip.au"); Is there any workaround for the getCodeBase() call? Thanks, Steve
Technical Details
Message-ID:
<3496B1F5.8E3C758D@whc.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,2cc23b51dd5d4bac,start X-Google-Attributes: gid1089d0,public From: "S.T." <teixeira@whc.net> Subject: getCodeBase() in an Application? Date: 1997/12/16 Message-ID: <3496B1F5.8E3C758D@whc.net> X-Deja-AN: 298739128 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Reply-To: teixeira@whc.net Content-Type: text/plain; charset=us-ascii Organization: None Newsgroups: borland.public.jbuilder.java.api