System sound in Java

I'm trying to write an error dialog that I want to call the correct system specified sound Is there any way to access the system sound from Java (i.e. startup sound, default beep, asterisk, key stop, etc.)?

Note: I know Java awt. Toolkit. getDefaultToolkit(). beep();

Solution

Here is ya (specifically for Windows)

The above is the whole content of system sound in Java collected and sorted by programming house for you. I hope this article can help you solve the program development problems of system sound in Java.

If you think the content of the programming home website is good, you are welcome to recommend the programming home website to programmers and friends.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>