Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  Tutorial: Beep

A beep sound can be use to indicate a warning or error.

Tutorial Details:

A beep sound can be use to indicate a warning or error. However, it is often better to give a warning dialog box with a description of the problem.
To Produce a Beep Sound
You need to import the Toolkit class:
import java.awt.Toolkit;

This is not always a sufficient way to alert the user as there may not be sound on the user's computer (as in many student labs) or the sound may be turned down, etc.


 

Rate Tutorial:
http://www.roseindia.net/java/java-tips/other/40sound/10beep.shtml

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
Beep

View Tutorial:
Beep

Related Tutorials:

Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.