A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
Beginning Java
Author
Beep in Java
Felix Devasia
Greenhorn
Joined: Jan 19, 2001
Posts: 13
posted
Apr 29, 2001 16:41:00
0
Hi,
can anyone explain me how you could produce a beep Sound(thru system speaker)in
java
?
Thanks
Matt Siegel
Ranch Hand
Joined: Jul 18, 2000
Posts: 55
posted
Apr 29, 2001 18:16:00
0
Check out
java.awt.Toolkit
. It has a method called beep(). It would be used like this:
Toolkit.getDefaultToolkit().beep();
HTH,
Matt
herb slocomb
Ranch Hand
Joined: Feb 12, 2001
Posts: 1479
posted
Apr 30, 2001 16:37:00
0
char c = 7;
System.out.println(c);
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Beep in Java
Similar Threads
beeps and dings
WA#2 word association
beep with time and frequency
Making it beep
Can't beep()
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter