Hi-
I have some problem while using getResourceAsStream() method
try {
String URL = "/signs_m.wav";
String audiotype = "/audio/x-wav";
InputStream in = getClass().getResourceAsStream( URL);
Player p = Manager.createPlayer(in, audiotype);
p.start();
}
i used like this but it says illegal argument exception
can anyone help me to solve this problem..............
thanx in advance
kavitha
I have some problem while using getResourceAsStream() method
try {
String URL = "/signs_m.wav";
String audiotype = "/audio/x-wav";
InputStream in = getClass().getResourceAsStream( URL);
Player p = Manager.createPlayer(in, audiotype);
p.start();
}
i used like this but it says illegal argument exception
can anyone help me to solve this problem..............
thanx in advance
kavitha