What could make a JOptionPane visible but not showing?

Hello,
I use FEST-swing to implement automated validation tests of a GUI application.
At one point the conversation being tested involves a modal dialog implemented using one of JOptionPane.showXxxDialog(...) methods.
When I automate cancelling the dialog (clicking the cancel button), I also check that the dismissed dialog is now hiding (FEST's dialogFixture.requiresNotVisible() , which in the end calls theDialog.isVisible() ).
My problem is that sometimes (I haven't identified any correlation so far), the dialog is still visible ( isVisible==true ), which fails my test, whereas on eye-witness inspection, the dialog is indeed not shown on the screen, and on code-tracing, it is not showing ( showing==false ).
- One trail to investigate could be improper usage of the EDT, but FEST-swing is supposed to issue Fixture checks on the EDT. I'll report that to the apporpriate mailing list.
- Another trail is, do you see a reason why the JOptionPane's dialog, could have visible=true and showing=false?
I'm sorry, I cannot produce an SSCCE (it works in simpler cases, plus it would require using the FEST-swing library).
Thanks in advance, and regards.
J.

I should add that I use a something.waitForIdle() method in the testing lib API that supposedly wait until there are no more event in the EDT, and I also put manual Thread sleeps to let stuff happen. So I don't think it's related to e.g. the "bringing down" not having finished to processed when I check the visibility. But of course, you are encouraged to question my assumptions :o)

Similar Messages

  • How do i make the back and forward buttons function? they are visible but not functional.

    I have firefox 8.0.1 and my back and forward button are not working. They are visible but not functioning. I have tried starting in safemode and without any add-ons and the back and forward buttons are still not functioning. What do I need to do to make the buttons functional?

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.com/kb/Bookmarks+not+saved#w_places-database-file

  • HT4356 Mavric doesn't support my 5 years old Big Screen Display, OR? Tried to connect my Mac Book Pro after installing Mavric, The Screen didn't work as before. I could only see the Desktop but not the movies for example. What can I do?

    Mavric doesn't support my 5 years old Big Screen Display, OR? Tried to connect my Mac Book Pro after installing Mavric, The Screen didn't work as before. I could only see the Desktop but not the movies for example.
    <E-mail Edited by Host>

    It appears what happened is the installer though it was looking at a empty drive and just went ahead and installed.
    I of course am assuming here you didn't use Disk Utility to format the drive first before installing, that would wipe out your files and programs for sure.
    So what to do, what to do.
    Well there is hope for you as long as the drive wasn't Filevaulted.
    I'll explain. When a hard drive writes data for the first time to a drive, it starts at the very top and works it's way down.
    When OS X was installed the first time, it was at the top of the drive, unless you upgraded then the upgraded OS X could have been written elsewhere.
    Now when you just reinstalled OS X, the new OS went on the top of the drive, overwriting any data that was there previously, so what was there you have lost forever which is about 8GB or so. If it was the previous OS there, then your more in luck because only the old OS X was overwritten.
    The remaining space on the drive still can have a copy of your files, provided it's not overwritten yet.
    It's because when a hard drive deletes data or reformats, it doesn't remove the data off the drive or overwrites it immediately, it's just made so it's SPACE is available for new files to be written there.
    So technically one can recover the deleted data off a non-encrypted/scrubbed hard drive with special software.
    The way it does this is it reads the 1's and 0's of the files themselves, and through a lot of figuring out, can tell what that file is and what it belongs too.
    So what you will have to do is this:
    Create a data recovery/undelete external boot drive
    or if you don't have the skills, then take it to a local PC/Mac tech and they can do a direct image of the drive and then you can run Data Rescue on it to rebuild your files.

  • Photo Uploaded in AD but not showing/visible in Lync 2010 client

    Photo Uploaded in AD but not showing/visible in Lync 2010 client
    bala

    Hi,
    Please also double check the size of the photograph in AD, make sure the size not overtake 48 pixels by 48 pixels, as it has a serious limitation on the size and resolution of the photos: the thumbnailPhoto attribute can only hold a photograph with
    a maximum size of 48 pixels by 48 pixels.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • HT1386 i deleted some songs from my iphone 4. now when i try to re-add them to my phones itunes, they wont add. whats wrong? new songs add. but not the old ones! help please

    i deleted some songs from my iphone 4. now when i try to re-add them to my phones itunes, they wont add. whats wrong? new songs add. but not the old ones! help please

    Hey renie1515,
    Thanks for using Apple Support Communities.
    When you download past purchases on an iOS device or computer, that device or computer becomes associated with your Apple ID. This article describes how to manage these associations.
    iTunes Store: Associating a device or computer to your Apple ID
    http://support.apple.com/kb/ht4627
    Once a device or computer is associated with your Apple ID, you cannot associate that device or computer with another Apple ID for 90 days.
    Note: Removing a device from your Apple ID does not override the 90-day timer. You must wait 90 days from the day the device was first associated with your Apple ID before it can be associated with another Apple ID.
    Have a nice day,
    Mario

  • How could i get other themes  but not in keynote, How could i get other themes  but not in keynote

    How could i get other themes  but not in keynote???!!!

    Create them yourself, specific, simple, easy and free.

  • Playing movie on tv; playing but not showing up; what output, DVD?

    1st time trying to play movie on tv; playing but not showing up; do I need to change output?  Only DVD &amp; DVR shown. Thx

    You need to provide more information. How are you connecting your iPad to the TV. Are you using an Apple TV 2, a component AV cable, a composite AV cable or the digital AV cable?

  • My phone is charging from my computer but not showing up in itunes?

    my phone is charging from my computer but not showing up in itunes?
    can some one help please, i have followed all of apples advice!!

    "i have followed all of apples advice!!"
    No idea what this means, unless you say what you have tried. When you say that you have tried "all", it really does not encourage anyone to make suggestions.  If you have tried it all, then, by definition, there is nothing left to try.
    Have you read this?
    iOS: Device not recognized in iTunes for Mac OS X
    iOS: Device not recognized in iTunes for Windows

  • In downloading my Events from iPhoto on my Mac to my iPad Air, the Events arrive in the proper order but not showing the Key Photo.  At the same time, the Events arrive in iPhoto on the iPad in totally random order but showing the Key Photo.Why?

    In downloading my Events from iPhoto on my Mac to my Ipad Air, the Events arrive in Photos in the correct order but not showing the Key photo. At the same time, the Events arrive in iPhoto in a totally random order but with the Key phto showing. Why? of course and is there a way to shift the order in Iphoto and get a Key photo in Photos?

    HHi, thank you for the reply. I have checked my iPad and iPhone and neither has iCloud Photo Library (Beta) enabled. Turned off in both. Photostream is turned on.
    i tried to sort it out  by dragging all the photos to Events on the Mac and then deleting them from iCloud - (left hand side of iPhoto under the section 'Shared'). the photos now show up in Events. I did force quit but the issue remains. The message reads ' photos are bing imported to the library. Please wait for import to complete.'
    i can't empty iPhoto trash either. The message read "Delete error. Please wait for import to complete.'
    WHen I was moving the photos to the Events I always had a message about duplicates - to the effect that the photos already existed, did I want to import them? I clicked on Yes, import all duplicates. But when it showed the images - duplicates side by side - one showed the photo and the other was blank.
    I really don't know what to do! And I don't know how to handle my iOS devices. Is it to do with the large number of photos? Any help, advice appreciated.

  • How to remove 1797 emails. stuck in inbox.  but not showing anymore - and i have the same problem wit the sent.  please help

    how to remove 1797 emails. stuck in inbox.  but not showing anymore - and i have the same problem wit the sent.  please help

    This is a user supported frum, so making threats really doesn't help, besides which it's not like any of us can really make a dent in Toshiba's bottom line despite how many people we think we can influence. Unless those people were standing in line to buy a Toshiba product cash in hand, and you pulled them out, it really doesn't add up for them.
    At this point it would probably be better for you to use the 800 number. Have all your e-mails ready to forward, if needed, to whoever you end up talking to. Don;t let them off the hook. An hour on the phone is much better than weeks passing e-mails through a support site. Also contest the charge with your bank or credit card.

  • Data source was activated and replicated but not showing up in RSA7.

    Hello,
    Data source was activated and replicated but not showing up in RSA7.  At what point does the data source appear in the Delta Queue?
    Thanks

    Hi,
    for LO,LIS,generic,FI data sources, delta records come from delta queue.
    if u run the INIT in BW whether it may be success or not delta queue will be maintained in RSA7. and u can check the records in RSA7 or smq2.
    when the init request goes to R/3 then it will maintains delta queue in RSA7.
    assign points if it helps,
    thanks,
    pavan.

  • HT4236 What do I do if "photos" is not showing up as an option under "My Device" in the iTunes window?

    What do I do if "photos" is not showing up under "My Device" when I plug my phone in and the iTunes windo opens?  I had my phone reset yesterday b/c of picture texting/software problems.  It wiped it clean!  I had to start again like it was a NEW phone and use my backup info on my computer to sync my information.  I have restored my contacts, calendars, music, etc...but, I can't get my pictures back.   HELP!

    If the iTunes window is set as wide as possible on your computer screen, try changing your computer screen resolution

  • Changes I make in camera raw do not show up or update in bridge.

    Greetings.
    I’m working in PS CS4 in XP(government).
    Changes I make in camera raw do not show up or update in bridge.
    These images DO process with the changes when I run my actions.
    For example: Open images in bridge. Edit. Open reaming images in camera raw. Push the images two stops in camera raw. Close camera raw. Images in bridge show no change. Run action to turn raw files into psd. Final PSD appear pushed two stops.
    Purging Cache make no difference.
    Thoughts?

    You are using Embedded thumbnails.  These are small and fast, but do not show raw edits.
    You need to use one of the HQ thumb options to see the edits.

  • I plugged in USB cable but not showing connected status in my ipod 4th generation

    I plugged in USB cable but not showing connected status in my ipod 4th generation

    What have you tried so far in terms of troubleshooting this issue?  Are you plugging the iPod into a high powered USB 2.0 port on the back of your PC? Have you tried a different USB cable?
    What happens if you try to reset the device with it still connected to the PC?
    How to reset iPod
    Has this iPod ever worked on this PC or is this the first time you have time you have tried connecting it?
    Have you carefully worked through each and every single suggestion in this Apple support document?
    iPod not recognized in 'My Computer' and in iTunes for Windows
    B-rock

  • Program is running, but not showing in dock?

    Sometime when i open a program, for instance, QuickTime. When i close the video, the program is still running but not showing in dock. When i display open applications by pressing cmd+alt+esc it i still running?
    Here's an expample. You can see that quick time is still running, but clearly not showing in the dock. (Sorry for Danish language on screenshot)

    I have this very same problem too.  In my case, it's specific to the Preview app only. At least, that's the only app that I've noticed.
    I've done all the proper troubleshooting and maintenance stuff but it still happens. Although I don't know what negative this causes my system, I'd be interested in finding out what is going on.
    My Mac is an iMac 27" (late 2013), 3TB Fusion, 10.9.1.
    Thanks,
    Marcus

Maybe you are looking for

  • How can iSync my iPad to my hp office jet 6600 so I can print from my iPad

    I am trying to sync my iPad with my hp office jet printer 6600

  • Are you holding my phone number hostage now?!

    I recently switched back from a temporary iPhone4 to my Samsung Galaxy that insurance reiumbursed for me. I love the samsung phone but now I am not able to text with contacts who have iphones. I have been reading about this problem on many forums and

  • FCP export aspect ratio issue

    Hi everyone! I would like to export HD footage with FCP using quicktime conversion. My original footage is 1920 x 1080 and I would like to to convert to 640 x 272. When I export I enter the desired size and tick "preserve aspect ratio". However the f

  • T-Code MIRO with assigned screen variants

    Dear Experts, We are using a BDC recording to call MIRO and send it to an agent via workflow using a z-table. The customer wants the baseline date on this recording grey'ed out and the business area field required. The baseline date is on the "PAYMEN

  • How to get a newer version of the Universal Installer

    I have a need fot and updated version of the Oracle 9 ODBC driver. The driver, however requires a newer version of the OUI (we have 2.2.0.16.0 and it wants 2.3.0.5.0a). I can't seem to find a seperate download just for the installer. Does anyone know