try {
        URL url = new URL("http://hostname/audio.au");
        AudioClip ac = Applet.newAudioClip(url);
        ac.play();
    } catch (MalformedURLException e) {
    }

 

Related Examples

相关文章:

  • 2021-12-09
  • 2022-12-23
  • 2021-12-10
  • 2021-11-30
  • 2021-11-30
  • 2021-08-13
  • 2021-07-20
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-24
  • 2021-09-20
  • 2022-01-22
  • 2022-12-23
相关资源
相似解决方案