How do I create a beep sound?

package org.kodejava.example.awt;

import java.awt.*;

public class BeepExample {
    public static void main(String[] args) {
        // This is the way we can send a beep audio out.
        Toolkit.getDefaultToolkit().beep();
    }
}

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.