Focus troubles with "Please wait" window

Hello,
This is a question for experts...
I have a complex focus management. So I wrote a FocusTraversalPolicy.
During focus calculation, I may need to call a server. So I display a nice "please wait" JDialog.
Pb is that focus stays at original field and does not go to the result of my calculation.
Note that everything was OK up to JDK 1.4.1 and pb appears both in 1.4.2 and 1.5
The problem seems to be in the following sequence :
- current field is fld1, user hit <tab>
- focus calculation is started, calling my class (call it MyPolicy)
- MyPolicy runs calculation and open the blocking dialog
- calculation stops, dialog is closed
- MyPolicy return the correct field (fld2) to go to
- fld2 gets the focus
- ONLY HERE the original window retrieves the focus
- and as the focus returns to fld1 :-(
Do you have any suggestions about how to solve that ?
Thanks for help.
Francois

Thanks for trying ;-)
To answer your question, NO : the behaviour is correct when JDialog is not showed.
But suppressing the JDialog is not a solution because sometimes I really HAVE TO show a JDialog (error message).
I succeeded to make it run by clearing the focus owner when I do my calculation :
java.awt.KeyboardFocusManager.getCurrentKeyboardFocusManager().clearGlobalFocusOwner();That keeps the focus getting back to fld1.
But I am not absolutely sure why. Implementation trick ?
I understand that something changed in focusing windows in 1.4.2...

Similar Messages

  • X305-q706 Stuck on splash screen where is says "Qosmio" with please wait...

    Hi,
    recently bought a Qosmio x305-Q706. First time I booted it up it gets to the splash screen with Qosmio displayed with "please wait" at the bottom and hangs there forever. The only way I can get it to boot is to cold boot it and mash the F12 key while it's loading the splash screen, if i'm lucky I can get into the option where u can choose which device to boot, and if I manually choose the harddrive I can load windows.
    Anyone hear of this issue or how to fix it? I've tried changing settings in the BIOS nothing. To Re-iterate, it's stuck on the pslash screen with Qosmio displayed, and if I press any key on the keyboard once it says "Please wait..." it just brings me to the bios :( .
    Any help would be appreciated.

    Hello
    It is very stupid situation and I really cannot understand why notebook hangs on this start-up level.
    Somehow is your Qosmio confused and cannot make decision which device should be first bootable device.
    Is some external device connected to your Qosmio notebook?
    Maybe BIOS update can help but if you have brand new notebook this is not solution. This is newest notebook and I presume there is latest BIOS version. So, if I were you I would contact either your local dealer and ask for replacement or Toshiba service directly. This behaviour is definitely not strange and notebook somehow hangs on BIOS POST (Power-On-Self-Test).

  • Having trouble with pop-up windows and ads for MacKeeper

    I've been having trouble with pop-up windows and ads for MacKeeper and similar "services." Tried to download "MPlayerX" a week ago and it all started then. I thought I deleted the file but I'm still having trouble. I've been digging for solutions on here, but nothing I've found on here has worked yet--the VSearch stuff (I think) isn't on my hard drive. Any advice?

    You installed a variant of the "VSearch" trojan. Remove it as follows.
    This malware has many variants. Anyone else finding this comment should not expect it to be applicable.
    Back up all data before proceeding.
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.venus.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.venus.daemon.plist
    /Library/LaunchDaemons/com.venus.helper.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/venus
    /System/Library/Frameworks/v.framework
    The problem may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
    This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Then, still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Is anyone else having trouble with bookmarks in Windows Safari 4?

    Is anyone else having trouble with their bookmarks in the Windows version of Safari 4? The Bookmarks Bar imported when I upgraded from Safari 3.2.2. But the Bookmarks menu can't be seen when I click the icon that looks like an open book. The History & Bookmarks Menu present in cover flow (which by the way I love and have found very useful). But the Bookmarks Menu option remains blank. At first I thought it hadn't imported - but I've realised they have imported, just aren't displaying.
    They are definately imported because the same Bookmarks Menu is still present on my iPhone through MobileMe synch. Also I can get to the bookmarked pages by clicking Alt-Bookmarks. All the bookmarked pages are there (along with being on my iPhone). So they've imported - they just don't display in Coverflow (or any view at all) when I click the open book icon.
    Does anyone have any solutions please.

    Ok I have a fix for that....
    I just figured this problem out for myself with a friend]
    ==============================================================
    CLOSE SAFARI
    go to MY COMPUTER
    C:
    Documents and Settings
    Your name
    Application Data
    Apple Computer
    Safari Folder
    Delete BOOKMARKS.PLIST
    ( Now I have to warn you this WILL DELETE your bookmarks from Safari so back them up before you do this )
    NOW........
    go back and IMPORT your bookmarks
    take all your bookmarks from the "IMPORTED ON XX/XX/XXXX " folder and drop them into the BOOKMARKS MENU at the top ( not the folder just your bookmarks)
    NOW DO NOT DELETE the Imported on xx/xx/xxxx folder
    for some reason when you delete the IMPORTED ON XX/XX/XXXX folder.... It causes them to go missing under BOOKMARKS MENU
    SO as long as you dont delete the IMPORTED ON xx/xx/xxxx folder they will stay in the BOOKMARKS MENU where you can manipulate them
    ALSO... DO NOT DELETE the IMPORTED FROM INTERNET EXPLORER
    or IMPORTED FROM NETSCAPE/ MOZILLA FOLDERS
    that will also cause your bookmarks menu bookmarks to go missing too
    I guess this is a temp. fix for now
    Thanks,
    Christopher

  • Having trouble with itunes and windows 8

    anyone else having trouble with windows 8 and itunes?  My computer doesn't seem to recognize my shuffle.

    A simple search would have answered such a silly question.

  • Having trouble with FarmVille gift window... the "envelope" isn't displayed when I start game

    However, if I use IE, the envelope appears, and my gifts window loads. Also, my husband's computer running Firefox works correctly; he has no problems with this FarmVille issue.
    So, what am I doing wrong, what's preventing this feature of FarmVille from working properly when I use Firefox on my computer?

    Hi Kacky,
    Have you looked at the Knowledge Base article [[Problems using Facebook in Firefox]]? There is a lot of good troubleshooting information in there. Please be sure to try all of the suggested steps. Each one is valuable and may be the answer to your issue.
    Hopefully this helps!

  • Trouble with installation of Windows 8 with VMware 9.0

    When I start the installation of Windows 8 on a new virtual machine with VMware 9.0.
    Here is the message:
    Your PC needs to restart.
    Please hold down the power button.
    Error Code: 0x0000005D
    Parameters:
    0x03060F0D
    0x756E6547
    0x49656E69
    0x6c65746E
    Can someone can help me?
    Stephane Leblond, B.A.

    Hi,
    Please check if the method Carl shared helps.
    Based on my understanding, the error message might be related to the hardware. If the method doesn't help, as it is a VMware virtual machine, please contact VMware support for further investigation:
    VMware Support
    http://www.vmware.com/support/
    Thanks.
    Nicholas Li
    TechNet Community Support

  • Trouble with database on Windows 7

    Dim WshShell As Object
    Set WshShell = CreateObject("WScript.Shell")
    WshShell.SendKeys "{Tab}"
    ===================================================
    SendKeys "{Tab}" problem Solved in Windows8.
    What i did .........keep UAC settings  to (no notification) and use above code.
    problem solved............... thanks to
    rakha india1.........Thanks  a lot.
    Can You give me a trick how vb6 project can be converted to vb.net............?
    I have an database program that tracks tickets running on windows xp. I recently made a Windows 7 machine. I know nothing about the code underneath the database, just how to use the db. I do have a decent knowledge of computers though. Whenever I open the
    database I get an error "The sendkeys action requires the ticket trakker utility addon to be loaded." I click ok an go to track a ticket and hit enter in the keyfield and I get "runtime error '70' Permission denied". Googling that error lead me to this webpage. 
    Where would I enter that code in order to test it out? 

    Hello,
    I'd ask in the
    Microsoft Access forum on Microsoft Community.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • [Solved]Having trouble with Grub detecting Windows 8 in dualboot

    Hey there,
    I have a UEFI board. When I first installed archlinux I did not used the Windows boot partition. To fix this I loaded up the installation media, mounted the partitions as they should be, mounting the microsoft boot partition as /mnt/boot and mounted my UEFI partition into /mnt/boot/efi. I reinstalled the kernel and regenerated the fstab. I also reinstalled grub and os-prober and such and regenerated the config.
    When I did all this, there is still not  /boot/EFI/Microsoft. The grub mkconfig does not detect the microsoft boot at all.
    What am I missing?
    Thanks!
    Last edited by Aquila (2013-10-03 17:45:44)

    I am using 2 disks: sda and sdb.
    I made sda2 is the windows boot partition, sda5 is the root partition for arch, sda6 is the UEFI partition I made for UEFI, sdb2 is the home partition.
    I followed the commands in the beginners guide.
    Originally I did
    mount /dev/sda5 /mnt
    mount /dev/sda6 /mnt/boot
    mount /dev/sdb2 /mnt/home
    pacstrapped and generated fstab and did the three commands for grub before arch-chroot
    # umount /sys/firmware/efi/efivars   
    # modprobe -r efivars   
    # modprobe efivars
    Arch-chrooted, changed clock, changed hostname, changed passwd, then installed grub
    # pacman -S grub efibootmgr
    # grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=arch_grub --recheck --debug
    # grub-mkconfig -o /boot/grub/grub.cfg
    Exited, unmouted, and rebooted
    Grub arrives but of course Windows is missing. Windows boot is in sda2. I made sure by looking in gparted lol
    At this point I booted installation media again and remounted
    mount /dev/sda5 /mnt
    mount /dev/sda2 /mnt/boot
    mount /dev/sda6 /mnt/boot/efi
    mount /dev/sdb2 /mnt/home
    Did pre-grub stuff then arch-chrooted in and reinstalled the kernel and grub and grub config
    # pacman -U /var/cache/pacman/pkg/linux-3.xx-x.pkg.tar.gz  for reinstalling the kernel in the chroot
    At this point I rebooted but I forgot to regenerate the fstab. So I remounted everything the same way, deleted the fstab and regenerated it. The fstab looks ok when I log in. I also then reinstalled grub and made the config again.
    This is where I am at now. I also get this weird issue when I shutdown, it immediately starts up again. I know this could be an issue with the Windows 8 fastboot, but I know I disabled that before I installed arch linux.
    Any tips would be great. I'm not sure where to go from here.
    And yes you're right it should be /boot/efi/EFI/Microsoft. I have /boot/EFI/EFI/arch-grub but not Microsoft in there
    Last edited by Aquila (2013-09-30 01:58:24)

  • "please wait windows configures itunes"

    Running Vista Hope Premium and iTunes 8.2.0.23
    PCAST thing says I don't have permissions to do anything with it as an admin.
    Reformatted and reinstalled Vista, redownloaded iTunes and still the same crap!

    Thanks for the info. I'd rather not hide it
    completely. I guess I will have to keep the folder
    there until Apple releases the next maintenance
    release.
    You don't have to hide it completely. Move it where you want it on your programs menu, start iTunes, let it "configure" and create duplicate shortcuts in the root of the programs menu, then hide those new ones. The old shortcuts you moved will remain visible and stay where you put them.
    I haven't tried Loek's suggestion yet.
    dell precision xeon something   Windows XP   has a noisy fan, gets very warm

  • Please Wait Window won't show

    Fixed
    Message was edited by:
    Neothor

    So, no? Nobody but me with this problem?
    I have been able to open my projects on a different computer so I figure my GarageBand is funked. I want to reinstall but am having trouble doing this now. I have an iMac, so I insert my Install Disc and choose "Install Bundled Software Only", then try to select just GarageBand. GarageBand is greyed out, I can't install it. Everything is greyed out except for "CPU Help Files".
    So...any ideas?

  • IPod Classic trouble with 64 bit Windows 7

    Just got a new (generation 7?) iPod Classic.  I am running Windows 7 64 bit.  When I plug the iPod into any of the USB ports, it does not show up as a drive.  When I go into the device manager, it shows up as Apple Mobile Device under the USB Controllers, as opposed to under the Disk Drives, which is where it shows up on my 32 bit machine (which I should note shows up as the E drive on that machine).  It says the device is working properly, and claims to have the latest drivers.
    Any thoughts?

    Re-install, using the latest, iTunes for Windows 7 64bit, from Apple web-site.
    if you want your iPod to be used as an External Hardisk in Windows, then you got to put iPod in diskmode by
    Press Menu and Center button till the Apple Logo comes ON (about 10 secs)
    The release the Menu button and move your finger to the reverse button |<< while still press the Center button.
    The iPod screen will show diskmode.
    Connect the iPod to the USB port and the PC will recognised it as a portable hardisk.
    Of course, if you want to load songs into iPod and use it as a music player, then you got to use iTunes and Sync it.
    Additonal steps needed for this, as your iTunes would  sometime hang and not show the iPod on the device folder.
    Let me know if you need further help.

  • Trouble with printing on Windows XP for Photosmart 6520

    Ok, I downloaded the drivers on the my old desktop that runs windows XP printed a test page no problems. Went to print a regular page off of Office Word. Hangs in the printer spooler doesn't printer. Anyone got any ideas what is causing this problem. I have delated the old printer off the desktop.
    thanks

    Download and run this: http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03286146&cc=us&dlc=en&lc=en
    What does it say?
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Trouble with iTunes and Windows Vista

    Hello,
    I have a new Win Vista system and need to move over all my old music to existing IPOD. I installed the latest version of itunes, and the Windoes patch (can't recall the number). I been able to successfully install itunes and port over my music. However when I attach the iPod and sync it I get the following errors: Attempting to copy to disk "name of iPod" failed. an unknown error occured (-124), and then "The iPod "name of Ipod" can't be synced. The required file cant be found, and "the iPod "name of iPod" can't be synched. The required folder can't be found.
    The odd thing is that it appeard as if it was synching up songs accorning to the status bar across the top.
    Any help please....
    Thanks,
    Mark

    Hi,
    got it fixed! My Son had both files on his Win7 iTunes installation. Never mind he had no issues whith ths iTunes and iPhone Sync. So I checked my other Win XP PC, where I don't have this problem syncing my ipad, and surprise. Both files do NOT show up on this PC. So I renamed the iTunesPhotoProcessor.exe I found under c:\program file\iTunes and synced again my iPhone and it went through without any error. So the problem might be and unremoved iTunesPhotoProcessor.exe or the missing iTunesPhotoProcessor.dll under the iTunes install root folder and this even if I had checked that the folder was completely removed during iTunes unistall.
    Please try yourselve and just rename the iTunesPhotoProcessor.exe to iTunesPhotoProcessor.exe_ under c:\program file\iTunes or get a copy of the missing iTunesPhotoProcessor.dll and cp to c:\program file\iTunes.

  • Zire 72 trouble with sync to Windows XP

    I have had my Zire 72 for a few years, and have been successful many times with hotsync to my laptop.  All of a sudden it will start the sync and then get locked part way through the process.  It has started at least 5 times, but then locks up at different times of the hotsync.  I have had to reset the system in order to get it unlocked.  I tried re-installing the program on the computer and doing hotsync to my old computer that it was originally on, but it does the same thing.  Any help is greatly appreciated.  The palm is still working to get my information, once I get it unlocked.
    Post relates to: Zire 72

    hi,
    when the hotsync freezes up its a data transfer issue
    if it freezes up on calendar you can set the calendar to do nothing and see if it works
    if it does, set the hotsync to handheld overwrites desktop or the other way around depending where is the recent data is store (phone or pc)
    you can apply these steps if it freezes up on another applications such as contacts,task, memos, etc..
    Post relates to: Palm TX

Maybe you are looking for