Java로 사운드를 재생하려면 어떻게해야합니까? 프로그램에서 사운드 파일을 재생할 수 있기를 원합니다. 어디를 봐야합니까? 잘 작동하는 다음 코드를 작성했습니다. 그러나 .wav형식 에서만 작동한다고 생각 합니다. public static synchronized void playSound(final String url) { new Thread(new Runnable() { // The wrapper thread is unnecessary, unless it blocks on the // Clip finishing; see comments. public void run() { try { Clip clip = AudioSystem.getClip(); AudioInputStream inputStream = A..