I have tried using both
Toolkit.getDefaultToolkit().beep(); and
System.out.println("\007");
and neither are actually playing a sound. I tried running the code in my IDE (CodeRunner 2) and in Terminal to see if it made a difference, which it didn't.
If anyone know another way to do this or why it isn't working, please let me know
Thanks!
No comments:
Post a Comment