Stopping the applications main window from activating when a child window is clicked

I am building a javascript based AIR application that implements a bastardized growl notifier.  When the the application is minimized or in the background you may be notified of a new message.  This part works great.
The UI calls for an "X" button to close the the notification window.  When I click the "X" the application's main window is activated and brought to the foreground, but the desired behavior is that the main application window stays minimized or backgrounded.  I've tried playing around with preventDefault and stopPropagation on mouse click and mouse down events but this doesn't seem to solve the problem.  I've also tried to hook into the display state changing event on the nativeWindow to see if I could cancel activation events in this scenario but I wasn't able to get that to work.  My last ditch effort was to try and tap into the AIR platform events for mouse click and mouse down, with the rationale that these things are handled in AIR and by the time it gets to the webkit engine, it's already too late, but that didn't seem to work either.
It's completely possible that I'm "missing some mundane detail" and one of these approaches should be sufficient.  I've noticed that TweetDeck has the same problem so I'm wondering, is this just an "AIR thing", possibly a bug, or is this expected?
Any help would be greatly appreciated.  I can post more information and screenshots if my explanation wasn't clear enough.  Thanks for reading.

sloppy code
JMenuitem open;
public actionperformed(event e)
if e.getsource == open
displayframe();
public void displayFrame(){
JFrame = new jframe
frame.pack()
frame.show()
}

Similar Messages

  • How do I stop the Master Password box from activating for sites that are not inclused in the list.

    The Master Password Box will request the password for any site that I open including sites that I do not have the password stored.
    == This happened ==
    Every time Firefox opened
    == I entered Gmail or Yahoo

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • How do i stop two windows from openning when i clicon an email link, the home page and the link both open. i just want the link to open

    how do i stop two windows from openning when i click on an email link, the home page and the link both open. i just want the link to open

    That is a bug, so you need to wait until this get fixed.
    See https://bugzilla.mozilla.org/show_bug.cgi?id=531552 - Firefox 3.6b opens two windows when opening external links
    (please do not comment in bug reports)

  • How do i stop the rainbow coloured circle from appearing especially when using IPhoto?

    how do i stop the rainbow coloured circle from appearing especially when using IPhoto?

    Back up all data immediately as your boot drive may be failing.
    If you have more than one user account, these instructions must be carried out as an administrator.
    Triple-click anywhere in the line below on this page to select it:
    syslog -k Sender kernel -k Message CReq 'Channel t|GPU D|I/O|Previous Sh' | tail | open -ef
    Copy the selected text to the Clipboard (command-C).
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V).
    The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.
    A TextEdit window will open with the output of the command. If the command produced no output, the window will be empty. Post the contents of the TextEdit window (not the Terminal window), if any — the text, please, not a screenshot. The title of the window doesn't matter, and you don't need to post that.

  • Way to stop window from resizing when zooming?

    Hi there.
    Is there a way to stop the window from resiging when zooming in/out of my Photoshop documents?
    What seems to happen to me, like, hundreds of times a day is the window keeps resizing when I zoom in and out and much of it goes behind all my palettes. So I drag the resize handle to shrink the window only to have it resize again the next time I zoom in or out.
    I couldn't find a preference for this. When I used to work in Photoshop for WIndows I could have sworn that the window never changed size unless I specifically resized it...
    Thanks!

    Son-of-a-b....
    I swear I looked there a number of times... I swear.
    Thanks.

  • How can I turn off the Download pop up Window from displaying when downloading a file?

    How can I turn off the Download pop up Window from displaying when downloading a file?

    To not display the built-in Firefox downloads window, Tools > Options > General tab, un-check "Show the <u>D</u>ownloads window when downloading a file". See: http://support.mozilla.com/en-US/kb/Options+window+-+General+panel
    If you have some other download manager installed, you will need to see the documentation for the download manager.
    <br />
    You have installed plugins with known security issues that should be updated. To see the plugins submitted as part of your question post, click "More system details..." to the right of you original question.
    *Shockwave Flash 10.1 r53
    *Next Generation Java Plug-in 1.6.0_18 for Mozilla browsers
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave Flash'''
    #*Use Firefox to Download and SAVE to your hard drive from one of the links below; '''<u>the links take you directly to the download and you avoid the "getplus" download manager and "extras" (i.e., toolbars, virus scan links, etc.) on the main Adobe page.</u>'''
    #*SAVE to your Desktop so you can find it
    #*After download completes, close Firefox
    #*Click on the file you just downloaded and install
    #**Note: Vista and Win7 users may need to right-click the installer downloaded and choose "Run as Administrator"
    #**Note: Most browsers other than IE will also get updated with this one download
    #**Note: To update IE, same procedure '''<u>but use IE</u>''' to go: http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe
    #*After installation, restart Firefox and check your version again.
    #*'''<u>Download links and other information</u>''':
    #** https://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin#Updating_Flash
    #** '''<u>or</u>''' you can download, save, then run the manual installers for IE, then for Firefox (and all other browsers) from here: http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #* Also see: http://support.mozilla.com/en-US/kb/Installing+the+Flash+plugin
    #* Also see (if needed): http://kb2.adobe.com/cps/191/tn_19166.html#main_Uninstall
    #'''Update Java:'''
    #* Download and update instructions: https://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions
    #* After the installation, start Firefox and check your version again.

  • Since switching to Firefox this week, when I click on a hyperlink in an e-mail in Outlook, I get this message, "General failure. An error occurred in sending the command to the application." It doesn't open a new window or do anything.

    Since switching to Firefox this week, when I click on a hyperlink in an e-mail in Outlook, I get this message, "General failure. An error occurred in sending the command to the application." It doesn't open a new window or do anything. Any work around to fix this?

    See this lnk for a fix, it worked for me!
    http://www.pcworld.com/article/200103/fix_outlook_general_failure_error_for_email_links.html

  • Howto stop the application module from using a DB

    Hello,
    Maybe and unusual question, but is there a way to stop the application module from connect to a DB? I know its purpose is to do so. But currently we are using ‘stub’ views and entities.
    In the executequery and dodml we wrote our own code to access data from webservices.
    We did this because we are also using JHeadStart which requires BC.
    It all works fine, but the application module needs a valid connection to a DB, although it will never query anything there.
    So is there a method which I can overwrite to make the application module think its connected to the DB but it actually isn’t?
    A second problem is most likely its state table.
    Anton

    Example #96 on my blog does this. It might have some useful clues.

  • On win 7 64 bit mozilla or IE 10  I get the following message This installation package could net be opened verify that the package exist and that you can access for contact the application vendor to verify this is a valid windows installer package I trie

    I get this following message when installing the latest itunes on mozilla or IE10 was working on this machine before crash and reinstalled for HP disc I tried at leat 15 times firewall off /on microsoft essentials on/off  on windows 7  64 bit  see  message
    This installation package could net be opened verify thatthe package exist and that you can access for contact the application vendor to verify this is a valid windows installer package

    If you are not already doing so, install from an Administrator account.
    If you haven't already done so, download the iTunes Installer from:
    http://www.apple.com/itunes/download/
    Then right click on the installer and select "Run as Administrator." (Even though you are using an admin account).
    If that doesn't work, try creating a new administrator account and installing from there.

  • How can I stop the iWeb welcome movie from appearing

    How can I stop the iWeb welcome movie from appearing every time iWeb starts up?
    Oh yes and now that we are talking: when I plug in my ipod, I want iTunes to start, not iPhoto.
    Who knows these tricks?

    iPhoto seems to be viewing the iPod as a camera.  Therefore go to iPhoto's General preference pane and select No application in the Connecting camera opens: menu.
    OT

  • How do I stop the Mac Store app from opening whenever I start my computer?

    How do I stop the Mac Store App from opening upon startup of my Mac Book Pro?  It will not let anything else open and then it stalls when I try to close the window.

    Deselect that option and the check mark will disappear.

  • How do I stop all of my devices from ringing when a call comes in

    How do I stop all of my devices from ringing when a call comes in

    Use a different iCloud account on each device.
    Don't use iCloud at all.
    Disable Bluetooth.
    Don't connect to the same wi-fi network on all the devices.
    Go to Settings > FaceTime and turn it off.
    Go to Settings > FaceTime on the devices and disable 'iPhone Cellular Calls'.
    Any of these will work, but the last one is probably best.

  • Digital Editions - too many activations when trying on Windows 8.1 system  HELP!

    Digital Editions - too many activations when trying on Windows 8.1 system  HELP!

    This is the Reader mforum. The Digital Editions one is here:
    http://forums.adobe.com/community/adobe_digital_editions

  • This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this a valid Windows Installer package"

    I'm unable to install Itunes on my new PC. I'm logged in as the administrator And have deleted my browsing history. This is the error I get, ITunes installation error- “This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this a valid Windows Installer package”... Any suggestions how to fix?

    Hi
    Try the following:
    Uninstall iTunes and Quicktime
    Reboot
    in the task tray right click the quicktime icon and click exit.
    navigate to the folder in program files and remove the quicktime directory and all its files.
    Reboot.
    Now try install iTunes and quicktime and it should work
    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • TS1702 i cant download new application on my Iphone everytime i open app store then searching for the application i want to download when i Tap the FREE sign it become half square and never downloaded.

    i cant download new application on my Iphone everytime i open app store then searching for the application i want to download when i Tap the FREE sign it become half square and never downloaded.

    Sometimes this happens because the app won't run on the iOS version of the device you are trying to install it to.  Go to the app store and make sure it will run on iOS 3.1.3 (many only run on iOS 4 or higher).

Maybe you are looking for

  • Ask the Expert: Technical Discussion on UCS-Mini platform

    Welcome to the Cisco Support Community Ask the Expert conversation. Ask your technical questions on UCS-Mini platform. The Discussion/Q&A is from November 24th through December 5th, 2014 Cisco UCS, originally designed for the data center, is now opti

  • Xf86-input-synaptics 1.5.0-1 = 1.5.99-0.2 No „afterscroll"

    After upgrade of package xf86-input-synaptics from 1.5.0-1 to 1.5.99-0.2 on x86_64 my synaptics touchpad lost ability to do Coasting*. * I guess that's how ability to do scroll drift called. You start scrolling quickly and release touchpad. After rel

  • Adobe Reader Shortcut Icons don't display properly

    Uninstalled and reinstalled latest version. Recently used program list on XP Home S3 Start Menu doesn't display Adobe logo and neither does Adobe Reader 9 shortcut on All Programs. PDF shortcuts display properly. Tried to search knowledge base and fo

  • Problem with website db

    I have dedicated server. the following is the status: # Begin of O R A C L E status section # Kernel Parameters Shared memory: SHMMAX= 3294967296 SHMMNI= 4096 SHMALL= 2097152 Semaphore values: SEMMSL, SEMMNS, SEMOPM, SEMMNI: 1250 32000 100 256 Databa

  • Canon 30D and iPhoto 6

    I just switched to a Canon 30D from a Nikon D70S. When I plug the Canon in there is no recognition of it on my desktop screen. I can, however, import into iPhoto no problem but can't "safely" eject the camera. Do I just yank the USB wire when finishe