D
dolphin
import javax.media.Manager;
import javax.media.bean.playerbean.MediaPlayer;
import java.lang.String;
public class Player1 {
MediaPlayer mp1 = new MediaPlayer();
public Player1(){
mp1.setMediaLocation(new String("file:\\d:\\music\\11.wma"));
}
public static void main(String[] args){
Player1 player1=new Player1();
player1.mp1.start();
}
}
it says that Cannot find a Player for :file:\d:\music\11.wma.what the
problem?
import javax.media.bean.playerbean.MediaPlayer;
import java.lang.String;
public class Player1 {
MediaPlayer mp1 = new MediaPlayer();
public Player1(){
mp1.setMediaLocation(new String("file:\\d:\\music\\11.wma"));
}
public static void main(String[] args){
Player1 player1=new Player1();
player1.mp1.start();
}
}
it says that Cannot find a Player for :file:\d:\music\11.wma.what the
problem?