Mac OS X: Is there something like com.apple.eawt to set dock icon?

Hi,
I want to set the dock icon of my application in Mac OS X.
I have expected that it can just be set with the stage.getIcons().add("icon") because that's the way how it works in Windows 7.
After I googled, I found that it can be done with a library: com.apple.eawt.
There are also other thing like bouncing icon in the dock:
http://stackoverflow.com/questions/15079783/how-to-make-my-app-icon-bounce-in-the-mac-dock
I would have guessed, that stage.toFront() would make it bounce, because in Windows 7 that method makes the application blink in the task bar (it's quite similar).
I'd like to see an API for things like that in JavaFX. Is there already a feature request?

Well ok, and what about some other methods?
I need to get the user's attention.
For Windows 7 I can use toFront() method.
For Mac I need this library, right?!
I think a feature request for something like javafx.application.Application#requestUserAttention() would be fine, no?
And I think stage.getIcons().add("icon") should also set the dock icon for Mac.

Similar Messages

  • Just update my mac it said "critical update" something like that so i updated and now my screen has like random dots all over and the colours are all messed up its like negative can someone please help?

    just update my mac it said "critical update" something like that so i updated and now my screen has like random dots all over and the colours are all messed up its like negative can someone please help?

    Adds the ability to make and receive FaceTime audio calls
    Adds call waiting support for FaceTime audio and video calls
    Adds the ability to block incoming iMessages from individual senders
    Improves the accuracy of unread counts in Mail
    Resolves an issue that prevented Mail from receiving new messages from certain providers
    Improves AutoFill compatibility in Safari
    Fixes an issue that may cause audio distortion on certain Macs
    Improves reliability when connecting to a file server using SMB2
    Fixes an issue that may cause VPN connections to disconnect
    Improves VoiceOver navigation in Mail and Finder
    Provides a fix for SSL connection verification
    this was the update
    never said anything about the screen

  • I want to clean my mac. what is best mac keeper or mac booster  or is there any recommended by Apple?

    I want to clean my mac. what is best mac keeper or mac booster  or is there any recommended by Apple?

    Neither. I would stay away from any such software. Apple does not make recommendations for any software except their own.
    Kappy's Personal Suggestions About Mac Maintenance
    For disk repairs use Disk Utility.  For situations DU cannot handle the best third-party utility is: Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption. Drive Genius provides additional tools not found in Disk Warrior for defragmentation of older drives, disk repair, disk scans, formatting, partitioning, disk copy, and benchmarking. 
    Four outstanding sources of information on Mac maintenance are:
    1. OS X Maintenance - MacAttorney.
    2. Mac maintenance Quick Assist
    3. Maintaining Mac OS X
    4. Mac Maintenance Guide
    Periodic Maintenance
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) See Mac OS X- About background maintenance tasks. If you are running Leopard or later these tasks are run automatically, so there is no need to use any third-party software to force running these tasks.
    If you are using a pre-Leopard version of OS X, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced after Tiger.  (These utilities have limited or no functionality with Snow Leopard, Lion, or Mountain Lion and should not be installed.)
    Defragmentation
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive except when trying to install Boot Camp on a fragmented drive. Malware Protection
    As for malware protection there are few if any such animals affecting OS X. Starting with Lion, Apple has included built-in malware protection that is automatically updated as necessary. To assure proper protection, update your system software when Apple releases new OS X updates for your computer.
    Helpful Links Regarding Malware Protection:
    1. Mac Malware Guide.
    2. Detecting and avoiding malware and spyware
    3. Macintosh Virus Guide
    For general anti-virus protection I recommend only using ClamXav, but it is not necessary if you are keeping your computer's operating system software up to date. You should avoid any other third-party software advertised as providing anti-malware/virus protection. They are not required and could cause the performance of your computer to drop.
    Cache Clearing
    I recommend downloading a utility such as TinkerTool System, OnyX 2.4.3, Mountain Lion Cache Cleaner 7.0.9, Maintenance 1.6.8, or Cocktail 5.1.1 that you can use for periodic maintenance such as removing old log files and archives, clearing caches, etc. Corrupted cache files can cause slowness, kernel panics, and other issues. Although this is not a frequent nor a recurring problem, when it does happen there are tools such as those above to fix the problem.
    If you are using Snow Leopard or earlier, then for emergency cleaning install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. (AppleJack works with Snow Leopard or earlier.)
    Installing System Updates or Upgrades
    Repair the hard drive and permissions beforehand.
    Update your backups in case an update goes bad.
    Backup and Restore
    Having a backup and restore strategy is one of the most important things you can do to maintain your computer. Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. You can never have too many backups. Don't rely on just one. Make several using different backup utilities. My personal recommendations are (order is not significant):
         1. Carbon Copy Cloner
         2. Get Backup
         3. Deja Vu
         4. SuperDuper!
         5. Synk Pro
         6. Tri-Backup
    Visit The XLab FAQs and read the FAQs on maintenance and backup and restore.
    Always have a current backup before performing any system updates or upgrades.
    Final Suggestions
    Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity or 20 GBs, whichever is greater, as free space. Avoid installing utilities that rely on Haxies, SIMBL, or that alter the OS appearance, add features you will rarely if ever need, etc. The more extras you install the greater the probability of having problems. If you install software be sure you know how to uninstall it. Avoid installing multiple new software at the same time. Install one at a time and use it for a while to be sure it's compatible.
    Additional reading may be found in:    
    1. Mac OS X speed FAQ
    2. Speeding up Macs
    3. Macintosh OS X Routine Maintenance
    4. Essential Mac Maintenance: Get set up
    5. Essential Mac Maintenance: Rev up your routines
    6. Five Mac maintenance myths
    7. How to Speed up Macs
    8. Myths of required versus not required maintenance for Mac OS X
    Referenced software can be found at CNet Downloads or MacUpdate.
    Most if not all maintenance is for troubleshooting problems. If your computer is running OK, then there isn't really a thing you need to do except repair the hard drive and permissions before installing any new system updates.

  • When I try to transfer a video from iPhone to Mac it gives me this error code (com.apple.ImageCaptureCore error 28.) It only happens when I try to transfer a 1.9GB video

    When I try to transfer a video from iPhone to Mac it gives me this error code (com.apple.ImageCaptureCore error 28.) It only happens when I try to transfer a 1.9GB video

    How are you trying to transfer it?  Which applicaiton on the Mac are you using? How are you connecting the iPhone to the Mac? If you're using iPhoto what version of iPhoto is it and what system are you using? 
    OT

  • Linux - is there something like System Tray ?

    Hello,
    I coded few apps for Windows which where able to dock in system tray.
    Now I need something similar for Linux (using Mint dist. - with GNOME), and I am not sure, wheter Linux supports something like system tray.
    I know that linux isn't windows, but this would be very handy if it is supported ...
    fyi - there is code whic would work for windows
    final PutToTray ptt = new PutToTray(this);
    // this is my class which handles system tray
    // it uses current JFrame as parameter
            ActionListener blinkListener = new ActionListener() {
                public void actionPerformed (ActionEvent e) {
                    try {
                        ptt.switchIcons();
                       // this method switches picture icon with empty icon using some timing, so it looks like blinking (f.e. ICQ)
                    catch (InterruptedException ex) {
                        ex.printStackTrace();
            ptt.put();
            // this method puts app to tray
            blinkTimer = new Timer(10,blinkListener);
            ActionListener checkListener = new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    if (sendAttackForm.isActive() == true) {
                        blinkTimer.start();
                        // tray icon starts blinking, when sendAttackForm appears
                        // not really important right now
            checkTimer = new Timer(10,checkListener);
            checkTimer.start();
            // some final code checking
            // not really important right now

    Falkenbach wrote:
    of course, its encapsulated in PutToTray classHaha, and how were we supposed to know that? You might think about providing an SSCCE .
    So, you have the code but want to know whether it will work on Linux? Do you not have a Linux machine available and just need somebody who does to test it out? If so, then the above-mentioned SSCCE would come in handy :)

  • Where can I find spell check is there something like word on the ipad?

    Are there references already on the ipad that I can use for editing? Should I be hooking up to the our main computer with word. I just got this ipad so I can write my blog.  I don't really know where everything is located is there a cheat sheet or something?

    Have a look at the following:
    http://itunes.apple.com/sg/app/quickoffice-pro-hd-edit-office/id376212724?mt=8&l s=1
    http://itunes.apple.com/sg/app/office2-hd/id364361728?mt=8&ls=1
    http://itunes.apple.com/sg/app/documents-to-go-premium-office/id317107309?mt=8&l s=1
    http://itunes.apple.com/sg/app/polaris-office/id513188658?mt=8&ls=1

  • Is there something like the fluxbox menu without fluxbox?

    I'm running Evilwm as my wm and very much like the minimalism, but lately I've been kind of missing the menu from Fluxbox.
    So I got to wondering if there was something similar out there; i.e. a program that opens a menu on some keycombo (say, control + right mouse. xbindkeys can sort out the details), displays a list of programs that can be launched, and upon either a selection by the user or some escape sequence removes the menu again. Any ideas?

    I dunno about a drop-down style menu like the one found in fluxbox, but I guess you could try out using dmenu after binding it to the key of your choice. It's probably not the best option, but it works nonetheless.

  • Javascript  - is there something like an "active row count" property??

    Lets say I have a tabular form. Every time I use the form, the # of rows returned by the query will vary. Maybe first time I go to the page, the select statement returns only 5 rows, but the next day it returns 25 rows.
    Is there some type of system variable to stores the # of rows visible on the page at a given time within this tabular form?
    I realize that if I have an tabular form item with an id of f03 for example, then on each row it will be referenced as f03_0001, then f03_0002 on the next row and then f03_0003 on the next row etc...
    In pseudocode, here is what I want to do:
    For i = 1 to ACTIVE_ROW_COUNT (assuming this is the # of rows in the HTML table)
    perform some operation on 'f03_000' + ACTIVE_ROW_COUNT
    Do you see what I'm after? I checked the APEX api, but I couldn't find such a property. It seems like you can't do much if you can't figure out this current index # or the max on the page.
    Also, I tried playing around with the "this" keyword in hopes of finding a pointer to the "current item" that would have triggered the onchange event, but no luck either.
    Thanks in advance.

    Hi:
    Within javascript you can reference the columns of the tabular form as
    <script>
    col1 = document.forms0.f01;  // the first updateable column of your report
    alert (col1.length) ;   //  number of rows
    </script>varad
    Edited by: varad acharya on Dec 8, 2008 5:53 PM

  • Is there something, like the SD card for example, that you can remove from your phone and leave somewhere so that when people are using Find My Friends, they think you're somewhere else?

    It's unavoidable - but I don't like being tracked. Is there a way to make everyone think I'm somewhere when I'm not?

    Delete the Find My Friends app. Don't give anyone your Apple ID password as if they had that, they could use Find My iPhone to track your phone. Don't let social media services (twitter, Facebook, Instagram) have access to your location services.
    If you are on an cell phone account that is controlled by someone else (e.g. parents) note that they may be able to avail themselves of carrier services to track your phone. In order to avoid being tracked that way, you would, as Bonanaza888 noted, you'ld need to put your phone in Airplane mode or turn it off.

  • Is there something like the questions widget in ibooks author in keynote?

    Does anyone know how if there is a review widget within Keynote as there is in iBooks Author that can show more than 6 questions and can I edit this so that multiple ticks can be shown and show more than 6 questions?
    I also want to know if I can alter the "Check Answer" button.

    The interactive system in Keynote uses hyperlinks, click a button and it will jump to another slide, that's the sum of the amount of interactivity available.
    An every day scenario; I want to review the scores to 5 questions with a multiple choice of 3 answers.
    This requires 5 slides one question per slide.
    I cannot click a button on slide 6, requesting to show the number of correct and wrong answers to all 5 questions. There is no database or dynamic library available to Keynote to allow a presentation of the data.

  • Is there something like conditional compiling in JAVA...

    ...or do I really have to use a constant in the main class to prevent my test code from being executed in a final release. Which has the disadvantage, of course, that the code is still there.

    You have to use the constant. The code will (should) not be in the compiled bytecode - the compiler will (should) optimize it out.

  • I have 30 gig Zen Xtra is there something like Yahoo/Napster/Rhapso

    Is there an unlimited monthly music plan service that will work with my player?

    Not until a new MTP firmware upgrade. Please search the FAQ for "firmware" for more details.

  • Is there something like Photoshop Channel Mixer in Adobe Illustrator?

    What is nice in Photoshop is being able to take fully illustrated art such as a red ball with shading and highlights, go into Channel Mixer, slide a couple of adjustment bars and it's changed to a blue ball or purple ball.
    Does Illustrator have a tool that does something similar to that? I'm having trouble figuring out the color editor and it seems require that I punch in different color percentages for each color it finds within the artwork that I have selected.
    I might as well click on each individual shape within the piece of art and change it's color that way.
    Any help would be greatly appreciated.

    Illustrator does not support channels. I do not presently have Phantasm loaded but it might be possible it has a channel mixer and Phantasm is a plug in for Illustrator. Check it out.

  • HT5957 i am trying to update my apple products and am having a great deal of difficulty, is there something wrong with apple today?

    I am having difficulties upgrading my iphone, ipad, does anyone know if they are difficulties on the site today..or am I not doing it correctly

    You're not doing it correctly.

  • Exist a Jtree node.id or something like this ?

    I would want to retrieve a node using a unique 'id', for example the absolute index (into the total nodes count)
    Is there something like this ?
    Can I add a particular property to a node ? ( for example this 'id' if it does not exist )
    Another question :
    If I want to implement a search code, this 'id' can be useful, or must I transverse the whole Jtree
    Thanks

    Hello.
    Do the following:
    1. Go to the Apple Menu at the top left of the screen
    2. Select Software Update...
    3. Install any updates that are found.
    If the Amazon issue continues after these updates, then do this:
    1. Open Safari
    2. Erase any web address you have currently showing (for example www.apple.com or www.google.com)
    3. Type in www.amazon.com
    4. That should take you directly to amazon.com
    It should look like this in your Safari::

Maybe you are looking for

  • Runtime Error in Scrapping of asset ABAVN

    Dear All, Runtime Errors         MESSAGE_TYPE_X. We are into ECC 6.00. I got following Error while doing Scrapping of asset using T.code ABAVN. *Runtime Errors         MESSAGE_TYPE_X Date and Time          18.02.2008 04:42:21 Short dump has not been

  • XSU Problem:Error-- Cannot map Unicode to Oracle character

    Hi, I am using XSU to get the resultset from database(oracle 9.2.0.6.0) as XML.When I query data from some columns and get the XMLString, they give me error -"Cannot map Unicode to Oracle character". The database charset is "US7ASCII" . One column is

  • Just bought iBook, should the screen be like this?

    I just bought a brand new 12" iBook and the screen appears to be slightly 'graduated'. That is that it is slightly darker at the top then the screen gets to a slightly lighter shade at the bottom making the dock look slightly pale and soft and lighte

  • Realising sqlloader bulk load like functionality through ALSB

    Hi All, I want to replace a a bourne shell script that ftp's a file of raw data from a certain location and uses sqlloader to load the raw data into an oracle database. An oracle control file splits the data into the discrete chunks and inserts into

  • Locators not confirmed in Telnet mode

    Hi all! We are trying to perform WMS transactions, (like pick load, unpack, split, etc), all fields are confirmed - validated with the exception of the Stock Locators. We get the 'No result Found' message, at the bottom of the screen. It seems the mo