Hi Ajit,
Have you tried changing your code into:
MeadiaContainer song=new
MediaContainer("yourURL\Jungle.wav");
OR
String yourURL=getCodeBase().getHost();
MeadiaContainer song=new
MediaContainer("yourURL\Jungle.wav");
I cannot ensure it work on your program, it's just my
advice on network programming.
George
--- Ajit Dharmik <[EMAIL PROTECTED]> wrote:
> hi Ulrich,
> never mind my system clock. My CMOS battery is
> dead...
>
> BTW, can u tell me what's wrong with this code??
> it's gives me "bad URL exception"
>
> MediaContainer song = new
> MediaContainer("Jungle.wav");
> BackgroundSound sound = new BackgroundSound(song,
> 20.0f);
> sound.setSchedulingBounds(new BoundingSphere(new
> Point3d(0.0, 0.0, 0.0), 100.0));
>
> Jungle.wav is in my current directory.
>
> Thanks.
>
> Ajit
>
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.com/
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".