更改:
AudioInputStream audioInputStream = AudioSystem.getAudioInputStream(soundFile);
至:
System.out.println("defaultSound " + defaultSound); // check the URL!AudioInputStream audioInputStream = AudioSystem.getAudioInputStream(defaultSound);
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)