Backgroundsound in a frame

L

Loek Raemakers

To play a sound from a frame, in a Windows environment, I use the code:

String abs = fil.getAbsolutePath();
String tus = "rundll32 url.dll,FileProtocolHandler ";
String commando = tus + abs;
Runtime.getRuntime().exec(commando);

This works fine. But
Each time I give the play command, a player
comes up in his own skin, with buttons I do not need and want.
I just want tot play a sound in the background.
How to do this?
Can someone point me to the right direction?
Thanks, Loek eR
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top