How can I signal the user audibly with a beep?

John Zukowski

The Toolkit class contains a beep() method for this purpose:

Toolkit.getDefaultToolkit().beep();

or, if in a Component subclass:

getToolkit().beep();
About | Sitemap | Contact