FileDialog still shows up several times after hitting cancel

If I hit cancel for the fist time in my FileDialog the dialog disappears, everything fine so far. But if I go back to the same FileDialog later and hit cancel again, there is an other FileDialog behind it. If I go back the third time there are 2 FileDialogs behind it. Number increases with every time.
I am positive that I dispose of the FileDialog each time. This is only when I hit cancel.
Anyone had anything similar?
Thanks a lot!

Here is the code I use to create an Open dialog:
               if (fileDialog == null)
                    fileDialog = new FileDialog( parent );
               fileDialog.setMode(FileDialog.LOAD);
               fileDialog.show();
               if (fileDialog.getFile() == null)
                    return;
               File file = new File( fileDialog.getDirectory(), fileDialog.getFile() );
Note, that fileDialog is a class variable which means that the FileDialog object only gets created once. That could be your problem.
Hope that helps.

Similar Messages

  • 3G still won't turn off after hitting home and sleep button at same time. Any other ways to try?

    3G still won't turn off after hitting home and sleep button at same time. Any other ways to try it?

    And when you held them neither the red Off slider nor the Apple logo appeared?
    If not then your sleep button is broken, you will need to get it serviced.

  • I am having trouble removing songs from my iPhone.  i have unchecked songs in the library on my mac, but they still show up on phone after syncing.  how do I remove them?

    I am having trouble removing songs from my iPhone.  i have unchecked songs in the library on my mac, but they still show up on phone after syncing.  how do I remove them?

    Hi asims01,
    Welcome to the Support Communities!
    The information below may be able to answer your questions about how to delete songs from your iPhone:
    Deleting songs downloaded to your device
    Tap the Music app.
    Tap More > Songs at the bottom.
    Scroll or search for the song you would like to delete from your device.
    Swipe right to left on the song, and then tap Delete.
    Note: You must be in Artists, Songs, or Albums view to delete songs from your device. Deleting from a playlist won't remove a song from your iOS device.
    Also, this information can be found on page 64 of the iPhone User Guide for iOS 7
    http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf
    Remove a song from iPhone. Tap Songs, swipe the song, then tap Delete. The song is deleted from iPhone, but not from your iTunes library on your Mac or PC, or from iCloud.
    If you have iOS 7, this will delete the song from local storage, but the song will still appear with a cloud symbol in the Music app, as you've noticed. To hide the iTunes in the Cloud purchases, navigate to Settings > iTunes & App Store, and disable "Show All: Music”
    There may be a few orphaned songs on your iPhone that were partially downloaded or corrupted in some way. If that is the case, you can erase all of the music from your phone.  Follow the instructions below and select the Music app under Usage:
    iPhone, iPad, and iPod: Understanding capacity
    http://support.apple.com/kb/ht1867
    I hope this information helps ....
    - Judy

  • Toshiba Satellie L655-s5191 freeze several time after update the Bios from 2.3 to 2.8.

    satellie l655-s5191   freeze several time  after updating bios

    If the RAM and HDD have been ruled out, then it is either a motherboard or CPU issue, and would require service to repair.
    Qosmio X875 i7-3630QM, 32GB RAM, OCZ SSD Qosmio X505 i7-920XM, PM55, 16GB RAM, OCZ SSD
    Satellite Pro L350 T9900, GM45, 8GB RAM , Intel 320 SSD (my baby) Satellite L655 i7-620M, HM55, 8GB RAM, Intel 710 SSD (travel system)

  • I want to backup my pinned tabs and my bookmarks as they have been lost several times after windows updates

    several times after system crashes and sometimes after windows updates my pinned tabs have disappeared. How can I back up the pinned tabs and bookmarks??

    Firefox stores the bookmarks and the browsing history in the places.sqlite database file..
    There are 10 rotating daily JSON backups (bookmarks-####-##-##.json) in the bookmarkbackups folder within the Firefox profile folder, one for each day that Firefox is started.
    *http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox
    Pinned (App) tabs and tab groups are stored in the sessionstore.js file.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    See also:
    *https://support.mozilla.org/kb/Recovering+important+data+from+an+old+profile

  • Several times after restarting Final Cut X was very slow and it always kept repeating rendering on same three clips. Later it stops rendering on every restart and the machine was normal and faster. Now it keeps crushing on every restart

    My Final Cut X changed behaviour after conneting the external monitor via HDMI. Several times after restarting Final Cut X was very slow and it always kept repeating rendering on same three clips after every restart. Later the dual screen icon disapeared on the top of my screen and it stops rendering on every restart like before and the machine was normal and faster. Now Final Cut won't start anymore whenever I start it loads and crushes immediately on every restart.

    Upgrade FCPX

  • Same album art is showing up several times

    in the ipod section of my iphone 4, in cover flow, several of the album arts show up several times. for example i have 3 songs from Usher's "Confessions" album. two of the songs show up under one cover art, and the other song in the other cover art. both the album artists names and album name are identical and the album arts are also identical. also, for several others albums, all the songs from the album appear under one album art and then next to it there's a copy even though i only have each song once on my ipod. i know this is really confusing to understand but if anyone has a similar issue, please let me know!

    I've had this and the way I got around it us in iTunes when you select get info you have artist, album artist, album. I don't think album artist has a value normally so add this and then should be ok. To solve your other problem I just removed that album then added it again and it was fine.

  • GR amount/line item still showing in Open Item after run F.13

    Dear Exparts,
    We run the F.13 after MIGO and MIRO. The GR/IR line item should clear after run the F.13. But the scenario is that in FBL3N in GRIR G/L Balance, MIRO Line item showing clear but the GRN line item is still showing in Open item. How can it possible and what to do for it. As per my knowledge Both line item should clear after run f.13.
    And how can I get the credit amount in which respect the IR(MIRO) amount cleared.
    Thanks,
    Sourav

    Hello Sourav,
    In the Automatic clearing Program for the items to get cleared they
    should meet the fixed criterian and the user defined criteria (OB74).
    When we execute SAP124(F.13) with the flag "only documents which can
    be cleared" it will display in detailed list only those documents that
    can be cleared. If dont check this field it will generate a list even
    of documents that cannot be cleared.
    For example:
    in the OB74: ASSIGNMENT,FUND & BUSINESS AREA as the criteria.
    And the ASSIGNMENT is not matching and thus the system does not find
    the item suitable or rather eligible for clearing.
    The system groups items according to
    fixed system criteria:
    Company code
    Account type
    Account number
    Reconciliation account number
    Currency key
    BSID-WAERS for customers
    BSIK-WAERS for vendors
    BSIS-PSWSL for G/L accounts
    Special G/L indicator
    The program also groups items according to a maximum of five user
    criteria. Note that the trading partner number and the business area are
    no longer fixed system criteria (in comparison to the former clearing
    programs SAPF123 and SAPF123W). Therefore, if you want to group by
    business area or trading partner number, you have to enter these as user
    criteria.
    Thus initially items are grouped according to fixed criteria one of
    which is company code.
    I would like you to review note 10757 FAQ: MR11, clear GR/IR clearing
    account
    Please also review the documentation of the program SAPF124
    Please also review the help.sap.com documentation on GR/IR Account
    Maintenance.
    http://help.sap.com/saphelp_47x200/helpdata/en/30/1060387db94003e1000000
    9b38f8cf/frameset.htm
    hope this helps
    regards
    Ray
    Edited by: Raymond Moynihan on Oct 19, 2011 5:14 PM

  • Shared mac showing up several times

    My media mac is showing several times in my other mac and iphone (remote) withe different numbers. Why?

    Yep. This has been happening for a while.
    Curious if anyone else is also experiencing this multiple times in console:
    10/21/14 12:18:20.810 AM discoveryd[53]: Basic DNSResolver  dropping message because it doesn't match the one sent Port:0 MsgID:0
    Wondering if it might be related.. Someone on another forum changed the DNS to Google's and the the message disappeared. Which makes me think it might be an Airport/Time Capsule issue?

  • My contacts disappeared several times after Updating To IOS7

    Hi
    After Updating to IOS7 , my contacts gone and came back several times.
    Does any body have the same problem
    any Idea or solution is highly appreciated.
    Thanks
    Kourosh

    No one from Apple monitors the forum.  Users of level 2 and up can report posts for violations of the terms of use.
    Can you try syncing to google contacts again? 
    Do you mean that pix you took with the phone disappear after doing a sync?

  • Updated my apps but still showing 3 up dates after 3 days

    up dated my apps but still showing need to up date

    Contrary to the misleading impressions given by the marketing copy on the Adobe webite, the new CC versions of the Cloud apps are not available until June 17 (Adobe time - probably San Jose - W Coast USA)
    Should arrive in the Cloud within the next 24 hours.

  • Podcasts show up three times after sync

    This is a weird sync issue.
    Most of my groups of podcasts sync with no issue.
    I have one series, a nice group from Layers TV, that shows up three times in the podcast page. I delete manually in iTunes, re-sync just the series I want, but on the podcast page there appears three icons for the series each with the same menus list of podcasts. It's the only series that does this. I don't have multiples or repeats in iTunes or in the library.
    It only adds them once to the iPad, so they're not copied multiple times. It's just three separate icons containing the same list of podcasts. Maybe these are different keyframes so they're listed as separate?
    I have no idea how to fix this.
    Thanks for any ideas.
    John

    dodsonmd00 wrote:
    There is one icon with podcasts 80-113. There are three icons each with menu lists for podcasts 116-134. (114 and 115 do not exist). They are not tripled on the iPad, the podcast count is correct.
    It sounds like the podcasts have different information in iTunes. The podcast producer could have changed something in the tags. Try selecting podcast 113> click File> Get Info. Then Get Info on podcast 116 and find out what tags are not the same. They should have the same artist, album, genre, ect. Then change the information to match the latest podcast(probably correct going forward), so they group up in iTunes.
    You can also try selecting the entire group of podcasts in iTunes(80-134) and then Getting Info on all of the selected podcasts. Then Enter the correct information and check the box next to the field, to change all of the podcasts tags.

  • Apple ID changes every time I hit Cancel

    Everytime my girlfriends phone hits cancel it loops through a different apple ID email.   These look like real emails to me, and started right around the time you guys got hacked. 
    Assuming this happening to others?
    She got a replcaement phone today and it has the same problem!
    What's up apple!

    Try going to settings/itunes & app store and log out of the ID there and then log back in and see if it makes a difference.  If that does not do it then try restarting the phone
    Hold down the Sleep/Wake button and the home button together until the apple logo appears (ignore the ON/OFF slider) then let both buttons go and wait for phone to restart (no data will be lost).

  • Before meauring small current, whether it is need to wait several time after switching it to DMM ?

    Hi, I want to use PXI 2535 to switch small current, e.g. 1-100nA, and then measure it using 4071+4022. We know that bouncing would occur when a relay transitions between open and close. But the relay in 2535 is FET, not the same as relays in 2532. Whether we still need to wait several ms to get a steady current? And if, how long it should be to wait (if 10nA is switched)?

    Hi 小木虫,
    I don't think additional settling time is required.  The default settling time for the NI PXI-2535 should be sufficient.  
    Additional low current switching advice: Be concerned with triboelectric/piezoelectric effects, leakage current in the switch, burden voltage, contamination/humidity, etc.  Also, I recommend to "make-before-break" relay connections when switching current because it's best to always have current flowing rather than to interrupt it. 
    If you still have concern, then I recommend trying how different amounts of settling affect the measurements.  Remember, the amount of settling required always depends on the load anyway.
    Hope this helps!
    Chad Erickson
    Switch Product Support Engineer
    NI - USA

  • Why still shows the old version after the upgrade?

    Hello I have a bit of problem here. I actually upgraded my JDK to 1.5 quite a while ago, but now when I run in the command line:
    D:\xmltree>java -version
    java version "1.4.2_03"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
    Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)Now the application need to run in the command line using 'java MainClass' requires JDK 1.5...I have it on my pc but how to reflect the newer version to the command line?Thanks

    Sorry I am afraid that I could not help you further (sounds like I had helped you somehow...*wink* ;-). The other thought is that there are different tiers of admins; if you are not the highest one, or he/she does not allocate you the PATH modification privilege, you may still not do that. You may wish to consult with the guy at the highest level, or who set up your account if you did not do it for yourself, if you are not him. Sorry for not being helpful at all and good luck.

Maybe you are looking for

  • CO_PA document creation

    Gurus, How is it possible avoid the creation of a co-pa document for a particular invoice document type in a SD flow? Many thanks Regards Edited by: vittoria Acquafredda on Dec 16, 2009 4:47 PM

  • InDesign CS6 randomly crashes on Windows 8.1

    I have installed InDesign CS6 on Windows 8.1 (for a while now). But it keeps crashing at random moments. It doesn't matter whether I am working on a document or the program is opened and idle in the taskbar, at some point it just says: "InDesign has

  • Transaction F110: Payment program: RFFOUS_D

    Hi, I have copied the standard payment program RFFOUS_D for check printing into a Z program and included the code to create the Idoc. Further I have done all the configurations like assigning the program to company code and house bank for the country

  • Standby database is not completing recovery.

    All, I applied a PSU to 10.2.0.4 (8576156) patch this afternoon on both the primary and standby oracle_home(s). Upon starting up the standby database, I no longer see the “media recovery waiting” message in the alert log when an archive log is sent f

  • How do I retieve photos

    How do I retrieve photos off Adobe Photoshop Album Starter Edition to include in my new Adobe Photoshop Elements 11 album?? The trial period has long run out an the product is no longer available to purchase? thanks