-
import java.awt.*;
-
public class beep {
-
public static void main(String args[]) {
-
Toolkit.getDefaultToolkit().beep();
-
}
-
}
-
-
}
Regards
Alex.
Thanks for your reply........ That also beeps.......
But the beep that i was trying to play is from that speaker:
Installed in the Motherboard,
Cylindrical form (less than an inch diameter, half an inch height) speaker...
Near the rechargeable(Lithium/Nickel) battery above the RAM port, or similar....
Not the external(connected in audio port)....
For example, when we unplug the harddisk(Get out from IDE/SATA), then start the PC, that beep(Morse type) signifies that a required harddrive must be plugged-in.....
Another example is from the mysql command-prompt.... that when we got the wrong query, that speaker also beeps......
But, anyway thanks for your reply......
sukatoa