public class Jxplay extends Thread {
File f;
public Jxplay(File f){
this.f=f;
}
public void run(){
try{
FileInputStream fis = new FileInputStream(f);
Player jx = new Player(fis);
jx.play();
}
catch(Exception e){
e.printStackTrace();
}
}
}
如何停止播放?