aspose file tools
The moose likes Beginning Java and the fly likes Beep in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Beep in Java" Watch "Beep in Java" New topic
Author

Beep in Java

Felix Devasia
Greenhorn

Joined: Jan 19, 2001
Posts: 13
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
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
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()