FileDialog keeps reappear in Windows after double click

Here's a portion of the code
FileDialog fileDialog = new FileDialog(this,
                    "Choose document from file",
                    FileDialog.LOAD);
            fileDialog.show();
            String fileDir = fileDialog.getDirectory();
            String fileName = fileDialog.getFile();
            fileDialog.dispose();If the user click the OK or Cancel button, the FileDialog works correctly (goes away). But if the user double click the file to open, the code that follows get executed then the FileDialog appears again! It seems that the program never gets out of the function. I don't have any loop enclosing this call so I can't see why it would keep reappearing.
Please help!

Perhaps the button that shows the dialog is located exactly under one of the FileDialog's button?

Similar Messages

  • How can I OPEN files I just downloaded? They're on the DOWNLOADS screen of Firefox but I can't open them even after double-clicking? And they're not on the FOLDERS as well. I tried RIGHT-CLICK and the "open dowloading folder" or something does not work! P

    How can I OPEN files I just downloaded? They're on the DOWNLOADS screen of Firefox but I can't open them even after double-clicking? And they're not on the FOLDERS as well. Even the right-click is not working ... the "open containing folder" does not work.
    == This happened ==
    Not sure how often
    == ALWAYS! ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB6.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)

    Open Containing Folders is never active.

  • My computer had to be shut down this morning when I could move my mouse around but it would not respond when I double clicked on an item to select.  Now I cannot open a file in my finder window by double clicking on it.  Any suggestions?

    My computer had to be shut down this morning when I could move my mouse around but it would not respond when I double clicked on an item to select.  Now I cannot open a file in my finder window by double clicking on it.  Any suggestions?

    Did you reinstall CS3 after CC?
    For that matter, doing an in-place upgrade on the OS is always a gamble with Adobe programs. Reinstalling all the versions you need, in order, would probably solve your problem.
    And you shouldn't need to save as IDML after opening the .inx in CC.

  • Bridge freezes after double clicking

    hi,
    Bridge cs4 freezes after double clicking on files (psd, ai and so on..)
    Any ideas?
    My system is XP 64bit.
    Regards
    Peter

    I experience this offen to.
    I'm running CS4ext on a windows 7 PC.
    My workaround is instead of double clicking the file to open PS
    right click on the thumbnail and select 'open in PS' option.
    this seems to work without errors or freeze ups.

  • I cannot delete the open apps as earlier after double clicking the start button

    I cannot delete the open apps as earlier after double clicking the start button after the new update

    Force close apps
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe the app's windows upwards to close
    3. The app will fly off the screen
    http://support.apple.com/kb/ht5137

  • Adobe digital editions will not finish downloading ebook  even after double clicking on hard drive .

    ADE will not download and open the ebook automatially. After locating the .ascm (ebook) file on the hard drive and double clicking on that, it still will not open in ADE.

    I did all that and after I close the ADE and double click on the file, ADE opens right up and it looks like it is downloading (very fast), but nothing shows up in the ADE.
    How do I only get emails from you and not all the other people on the discussion?
    Date: Fri, 23 Dec 2011 15:48:24 -0700
    From: [email protected]
    To: [email protected]
    Subject: Adobe digital editions will not finish downloading ebook  even after double clicking on hard drive .
        Re: Adobe digital editions will not finish downloading ebook  even after double clicking on hard drive .
        created by Jeff A Wright in Adobe Digital Editions - View the full discussion
    Right click on the ACSM file or option click and go to Open With and select Other.  You can then navigate to your Adobe Digital Editions and set the file to open with that. I would then recommend closing Digital Editions, if you have it open, and try double clicking the file.  If Adobe Digital Editions opens then the file association is still correct.  If you continue to have difficulties then I would recommend contacting the vendor you obtained the e-book from.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4101791#4101791
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4101791#4101791. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Digital Editions by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • HT1689 I want to close apps running in back ground but after double clicking I dont get apps running in back ground instead photo apps open after double clicking home screen

    I want to close apps running in back ground but after double clicking I dont get apps running in back ground instead photo apps open after double clicking home screen Please help.

    iPhone 3G does not support multitasking

  • BSP code to open new page in new window after button click

    Hi expert,
    I have a requirement to write a BSP code to open new page in new window after button click. I have done the same for opening in same window but not for opening in new window.
    Can you please help me out with the code in which the page opens in new window and the menubar & Addressbar is displayed in hide mode.

    Hi,
    To add more with Anubhav...
                              onClientClick = "javascript:window.open( 'pop.htm' ) "
    You can create a pop.htm page, and call the same in another page using the above code.
    Refer standard BSP examples, SBSPEXT_HTMLB, SBSPEXT_PHTMLB, SBSPEXT_XHTMLB. You can run the default.htm pages and see what way you want to design your BSP.
    Thanks,
    Sreekanth

  • I cannot open a new browser window by double clicking Firefox icon or selecting NEW WINDOW from the file menu.

    I can open only 1 browser window and I can't open another or multiple windows by double clicking Firefox icon or selecting NEW WINDOW from the file menu.
    Looking forward to your earliest reply.
    Thanks and regards,
    Sheraz

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • Emails keep reappearing in inbox after deleting on iPhone 6

    downloaded onto iphone6 from iCloud and emails keep reappearing in inbox after delete.

    downloaded onto iphone6 from iCloud and emails keep reappearing in inbox after delete.

  • I have iTunes 11.0.1 and no matter what I do I cannot get it to open any extra windows.  Double clicking does Nothing.  Help Pleez.

    I have iTunes 11.0.1 and no matter what I do I cannot get it to open any extra windows.  Double clicking does Nothing.  Help Pleez.

    I certainly agree. You can comment to Apple on the matter via their feedback page, if you wish:
    http://www.apple.com/feedback/itunesapp.html
    Perhaps if enough of us request it, they'll put that feature back.
    Regards.

  • Message window won't open after double-clicking message in list

    When I re-launched Mail, I suddenly lost the ability to open a message by double-clicking it in the message list window. I can view the message in the preview window at the bottom of the list, but without opening the message itself, I seem to lose the ability to reply, forward, etc.
    Coincidentally, in case the problem is related, I also noticed that Safari no longer opens a window after launch. Going to "File" in the menu bar and selecting "New Window" produces nothing.
    Anyone have a clue about fixing these?

    Read the following article for general troubleshooting and cache-cleaning procedures:
    Resolving Disk, Permission, and Cache Corruption
    In particular, be sure to verify/repair the startup disk (not just permissions), and to read this as well:
    Side effects of System cache cleaning
    In addition to the utilities mentioned there for cache cleaning, you may also consider OnyX or Cache Out X, which are free.
    More specifically, this could be caused by some Launch Services cache or preferences corruption. The following article describes how to manually reset Launch Services -- the notes at the bottom of the article also provide information about the side effects of deleting each of the files involved:
    Resetting Launch Services
    And this is how you should proceed to reset Launch Services with OnyX, for example:
    1. Quit all applications.
    2. Launch OnyX and enter your administrator password.
    3. Click Maintenance. In the Reset section, check LaunchServices database.
    4. You may uncheck any other pre-checked options if you wish.
    5. Click the Execute button.
    6. Restart the computer.

  • I cannot get anything to download...the upper-left corner window to double-click after clicking on the RUN or SAVE window does not appear.

    This occurred after I stupidly removed some programs I thought unneeded to free up space.

    You are fantastic!!!I Did the "reset Firefox", and now I can download, the download window appears with something in it to double-click, and everything! Thank you...I have spent hours, days and months, many "help" sites, and a lot of frustration trying to get this to work; have spent over 6 hours just tonight trying sites that didn't work, and most of whom wanted to charge my grocery $ amount to get me to Premium Support techs. Thank you!

  • How to get back to regular arrange view after double clicking on a rex file

    Hi. How do I get back to the regular arrange view where I can see all of my tracks in the arrange window. I had double clicked on one of the tracks which was a rex file. I wanted to see what the slices looked like. Doing so just brought me to a new arrange looking window with the one rex file track as the only track. And now I can't get back.
    PBG412" Mac OS X (10.4.5)

    Double Click on the arrange background
    J

  • Can No Longer See Photos After Double Click to Edit

    Photos and videos only visible as thumbnails. When double click to edit, cannot see. However, can double click on books and see them in edit mode. All photos still located in iPhoto Library. Have run backup and gone through all four options for database repair. Have uninstalled and reinstalled version 9.5.1. Still cannot see photos. Running latest version of OS Mavericks and latest version of iPhoto.

    There are several possible causes for the Black Screen issue
    1. Permissions in the Library: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the option to check and repair permissions.
    2. Minor Database corruption: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild.
    3. A Damaged Photo: Select one of the affected photos in the iPhoto Window and right click on it. From the resulting menu select 'Show File (or 'Show Original File' if that's available). (On iPhoto 11 this option is under the File -> Reveal in Finder.) Will the file open in Preview? If not then the file is damaged. Time to restore from your back up.
    4. A corrupted iPhoto Cache: Trash the com.apple.iPhoto folder from HD/Users/Your Name/ Library/ Caches...
    5. A corrupted preference file: Trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    If none of these help: As a Test:
    Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

Maybe you are looking for

  • IPhoto 6 solution to missing photos in edit/book view when thumbnail shows

    Hi all, since this seems to be quite wide spread with iPhoto 6 users, I thought I'd make sure that you all get the solution that seems to work for the following: Problem: iPhoto 6 does not open your photo for editting but you can still see it's thumb

  • Ultiboard part wizard doesn't show any copper layers during part creation

    Ultiboard part wizard doesn't show any copper layers during part creation. I have to check the box to activate Copper Top in the part editor, once the part is made in order to see what I've made. I suspect there is a connection between this issue and

  • Dreamweaver synchronization button grayed out

    My synchronization button, in the Files Tab, has all of a sudden been grayed out and I am unable to synchronize the local files to the files on the remote server for any of my websites. When I view both the remote files and local files I get the foll

  • Import a java file?

    Hi, I created a StockTablePanel.java file, and then compiled it fine. Then, I wrote in a new file, StockTableTabPanel.java, the followings: //top: import javax.swing.*; import javax.swing.event.*; import java.awt.*; import java.awt.event.*; // Import

  • Text Export time format

    When I export a playlist from iTunes 8.2.1 using File > Library > Export Playlist, the time column is in an odd format. Can anyone explain how to convert the number iTunes provides into minutes and seconds?