You can:
Print the ASCII bell symbol on the remote (beeps):
public class DoBeep { public static main(String args[]) { System.out.print("\007");
Use the beep() method, which will use an audio signal on the motherboard:
import java.awt.*; public class DoBeep { public static void main(String args[]) { Toolkit.getDefaultToolkit().beep(); } }
source share