Toolkit: beep() : Toolkit « java.awt « Java by API





Toolkit: beep()

 
import java.awt.Toolkit;

public class MainClass {

  public static void main(String[] args) {
    Toolkit tk = Toolkit.getDefaultToolkit();
    tk.beep();
  }
}

           
         
  










Related examples in the same category

1.Toolkit: addAWTEventListener(AWTEventListener listener, long eventMask)
2.Toolkit: createImage(byte[] img)
3.Toolkit: getColorModel()
4.Toolkit: getDefaultToolkit()
5.Toolkit: getImage(URL url)
6.Toolkit: getMenuShortcutKeyMask()
7.Toolkit: getProperty(String key, String def)
8.Toolkit: getScreenResolution()
9.Toolkit: getScreenSize()
10.Toolkit: getSystemClipboard()
11.Toolkit: getSystemEventQueue()
12.Toolkit: prepareImage(Image image, int width, int height, ImageObserver observer)