Beep sound?

How can I make a beep sound (for example as a cue to the operator when an invalid key is pressed)?
AWT has Toolkit.getDefaultToolkit().beep().
SWT has ... getDisplay().beep();
How can accomplish the same in FX? (The AWT call fails in an FX environment.)

abg wrote:
Toolkit.getDefaultToolkit().beep();
works for me.
alexThe fact if it works was not the question. But you're still right in a way - using the old AWT beep() functionality is still the way to go it seems. Or play your own sound through an AudioClip for example.
Apparently there is a feature request for a beep through the JavaFX API:
http://stackoverflow.com/questions/10636194/java-fx-2-alert-sound
http://javafx-jira.kenai.com/browse/RT-21634
(which has been rejected it seems).

Similar Messages

  • TS1365 I have a mac pro that when i turn it on the sleep light blinks and makes a beeping sound but my screen is black. Any idea's as to why this is happening and how do i fix it?

    I have a mac pro that when i turn it on i get a black screen and the "sleep light" is on but i also get a beeping sound. How do i fix this? I have powered off turned it back on and tried the command, option, P, and R and still nothing

    Welcome to the Apple Support Communities
    How many beeps do you hear?

  • TS1367 My MacBook Pro screen won't turn on makes a repeating 3 beep sound

    The screen to my MacBook Pro screen wont turn on and when I push the power button it just makes a 3 beep sound repeatedly. Is there any way t. Fix this or should I go to the store?

    Take it in for service.
    Apple Store appointments: http://apple.com/retail/geniusbar.

  • My MacBook pro will not boot up. It make a beep sound.

    I tried to boot up my MacBook pro and it make a beep sound. Screen is blank.

    Read this carefully and see if this is what you are experiencing: http://support.apple.com/kb/HT2341

  • External Hard Drive Doesn't Appear and Makes a Beeping Sound

    I have a Mobile XXS external hard drive from Freecom (approx 460 GB) that works fine on my father's G3 iBook, but when I plug it into my G4 Aluminum Powerbook (OS 10.5) it runs, but doesn't appear on the desktop. It also makes a continuous beeping sound. I want to back up all my music projects. As far as I know the USB ports work because I'm able to use my iPod. This isn't an Apple product but the Freecom website doesn't have a very active forum. I was wondering if anyone had any experience with something like this. I appreciate any help.

    It sounds like a USB-only hard drive, and the Powerbook G4 is notorious for not providing enough power for many external USB drives.
    The usual suggestions are:
    -Try a double (Y-style) USB cable to draw power from two ports for the drive
    -Add a mains power adapter to the drive, if possible
    -Try using the drive through a powered USB hub
    Firewire drives don't seem to suffer from this problem.

  • High-pitched beep/sound during sleep and shut down modes

    I just wish to check whether is it normal that there's high pitched beep (not very loud but can be heard in a quiet room) which seems to be from the LED or AC Adapter during sleep mode. The beep sounds continuous when the computer has been shut down or in off mode while the main plug of where the ac adapter is connected to is still on. Is this normal? My computer works fine. Battery is charging fine. I just want check whether is this normal. It is has been like that ever since I bought my computer on March 2012.
    HP Pavilion dm4-3005tx Entertainment Notebook PC

    Hello Huanwei,
    It appears that you can hear a "high pitched beep" coming from the notebook while it's in sleep mode or even off, when the power adapter is plugged in and "on". I will try to help you with this.
    Normally, this should not happen. Beeping from a computer may happen during start up a few times to indicate components enabling, but any constant beeping or being while the computer is off shouldn't happen.
    Does this occur, if the AC adapter is not connected to the notebook when it is in sleep mode or off? Do you only notices this, in a specific location? (office, etc.)
    I would suggest, depending on the setup of things. Taking the notebook with no AC to another location in the house. A quiet one, make sure your not near any other electronics (no watches or cell phones either) let the notebook sleep and see if you hear the beeping. If not, then power it off and test again. If no beeping, this is good and the notebook is fine.
    Repeat that same test with the power adapter connected ( again no other electronics around you). Listen while it is "sleeping" and off to see if you can hear the beeping again.
    If you do disconnect the AC from the notebook , but leave that connected to the wall and take the notebook out of that location, go back to see if you can hear beeps again. If you do it could be the AC adapter. If you don't then it could be an issue with that only when it's connected.
    If there was no beeping when the AC was connected in this "testing location", then I would guess it is something else within the house that is beeping (we have seen that before). In which case you'd have nothing to worry about in regard to your notebook.
    Let me know where the above leads.
    Thank you for posting on the HP Forums.
    I worked on behalf of HP.

  • I'm having trouble with installing a 8g kit in my late 2009 mac mini. when the parts are installed all i get is a beeping sound, is there any way to get around this?

    i'm having trouble with installing a 8g kit in my late 2009 mac mini. when the parts are installed all i get is a beeping sound, is there any way to get around this?

    What is the source & link to this 8 GB kit please?
    Can you count the beeps or flashes?
    1 beep = no RAM installed
    2 beeps = incompatible RAM types
    3 beeps = no good banks
    4 beeps = no good boot images in the boot ROM (and/or bad sys config block)
    5 beeps = processor is not usable
    In addition to the beeps, on some computers the power LED will flash a corresponding number of times plus one. The LED will repeat the sequence after approximately a 5-second pause. The tones are only played once.
    Note: In this case, a flash is considered to be 1/4 second or 250 ms or greater in length.
    http://support.apple.com/kb/HT1547

  • Pavilion dv6 - loud beeping sound when starting +sound problem

    i just bought an hp pavilion dv6 notebook LR732PA and every time i turn it on there's a loud beeping sound, and i'm not sure if this is normal but it asks me where to boot from (pc hard drive) and which oS (windows 7 64-bit). does anyone know how to stop the beeping?
    Also sometimes the sound stops working altogether and an icon appears on the screen with a circle moving around it, and when i try to put the volume up the bar slides back down. it usually can be fixed by closing some programs and processes, it happens sometimes when ive just got 2 programs running and i close one and its ok, or if its not i have to restart. is this something to do with RAM or some kind of sound setting?
    Thanks =)

    There could possibly be a RAM issue here are a couple of troubleshooting links that might resolve your issue or give you an idea what the beeping is referring to.
    http://h10010.www1.hp.com/ewfrf/wc/document?lc=en&dlc=en&cc=us&docname=c01732674&product=1132551#N16...
    http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=tis13707 
    Clicking the White Kudos star on the left is a way to say Thanks!
    Clicking the 'Accept as Solution' button is a way to let others know which steps helped solve the problem!

  • Beeping sound when open psd files, cant load video in photoshop CC after i done with the new updates

    Need Help on how to get rid of the beeping sound, update to ver 14.1.2 x32.
    i keep having doesn't support video on this version of windows. tried .mov and .mp4 videos files.

    I think I read somewhere that video does not work in 32bit  PsCC, try 64bit ver.

  • A beep sound when taking a pic in S.Korea

    Hello, How r u doing ?
    I have something to ask for you all.
    In S.Korea, when taking a pic, you can hear some beep sound casue of our domestic law. Btw, I really dislike that.
    So, I wanna remove the god **** beep sound. How can I do that ?
    Do u know some apps which can remove the beep sound ?
    I wanna some free apps cause I have no money.
    Hey guys, plz let me know it.
    Thanks
    Message was edited by: anyfree21

    U got it. yes, I know that is illegal act. BTW, U talking about the law,
    First, u will have to prevent the site I can do unlock freely.
    U know, I can download some tools to unlock iPhone and the site is opened to everyone.

  • HT3918 what is the beep sound when turning on computer after replacing ram

    what is the beeping sound when turning on imac after replacing memory/RAM ?

    This is the RAM capabilities and specs:
    Maximum Memory
    16 GB
    Memory Slots
    4 - 204-pin PC3-8500 (1066 MHz) DDR3 SO-DIMM
    This link, How to remove or install memory, will provide the source to how to install RAM in your model to be sure you do it properly. The modules need to be pressed fairly hard to assure they are properly seated.

  • Why has my mac book made a beeping sound?

    my macbook has mad a beeping sound does any one know why?

    Beeps on startup:
    1 beep = no RAM installed
    2 beeps = incompatible RAM types
    3 beeps = no good banks
    4 beeps = no good boot images.
    5 beeps = processor is not usable
    http://support.apple.com/kb/HT2538

  • My MacBook Pro makes a beep sound every few minutes.  Why?

    My new MacBook Pro makes a beep sound every few minutes.  Why?

    If you have a Seagate 500 GB 7200 RPM drive model ST9500420AS or ST9500420ASG, there is a widely reported problem with MacBooks that causes intermittent clicks and beeps.  If that is your scenario, google for details.

  • I am trying to open my macbook air but it has blocked and it makes a beep sound.

    I am trying to open my macbook air but it has blocked and it makes a beep sound. It wont turn on. Is there something i can do?

    Assuming this is not the normal startup chime, one beep means no RAM...so something in the path to the RAM has failed.
    Best option is the Apple store genius bar to have the techs test the system and see what is going wrong.

  • A beeping sound, along with a little white light blinking on/off on my MacBook Pro?

    My MacBook Pro is making a loud beeping sound along with a little white light blinking on and off at the bottom of the keyboard. None of the keys are working so I do not have the ability to shut it down. Any idea how to stop the beeping sound?

    Apple One to One is a paid service which has to be purchased when the computer is purchased.
    http://www.apple.com/retail/learn/one-to-one/
    Appointments at the Genius Bar however are free (evaluation, troubleshooting, etc) - repairs would have to be paid for if out of warranty.

  • Beep sound while connecting iphone 4s to laptop

    Beep sound are coming when I'm connecting my i phone 4s to my laptop...

    Usually when you plug your phone to your computer it will beep.
    If you're getting a continuous beeping sound that means the phone isn't charging either due to a bad cable or bad usb port.

Maybe you are looking for