Solved

system beep

Posted on 1998-06-02
2
252 Views
Last Modified: 2012-05-05
is there a "system beep" available in java? (i cant find one.)

if not, what is the best alternative? i need a solution that works in both applets and applications.
0
Comment
Question by:musashi
2 Comments
 
LVL 5

Accepted Solution

by:
msmolyak earned 50 total points
ID: 1221927
Check java.awt.Toolikit:

Toolkit.getDefaultToolkit().beep() should do what you want.
0
 

Author Comment

by:musashi
ID: 1221928
that was easy :)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Non-recursive backtracking, using a stack 1 103
Cipher Configuration on Apache HTTPD 4 53
eclipse shortcuts 9 45
expectj telnet failing 5 26
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now