ProgressMonitor dialog will not popup

Can anybody tell me what's wrong with the following code? The ProgressMonitor dialog never pops up.
class OkListener implements ActionListener
public void actionPerformed(ActionEvent ae)
Runnable task = new Runnable()
public void run()
String login = _getJTFLogin().getText();
String pwd = new String(_getJTFPassword().getPassword());
ProgressMonitor progMon = new ProgressMonitor(_parent, "Please wait...", "Authentification", 0, 100);
progMon.setProgress(0);
progMon.setMillisToDecideToPopup(1000);
try
doAuthentification(login, pwd);
catch (Exception exc)
exc.printStackTrace();
finally
progMon.close();
Thread worker = new Thread(task);
worker.start();
And, somehow, if I add a fake Thread.sleep() call and a progMon.setProgress(50) after the doAuthentification() method, the dialog pops up.
Any logic to this? I have read the documentation but nothing seems to explain this behavior.
Thanks a lot!
Guillaume

From mentioning the DIALOGEX, it sounds like you've read one of my many posts on the subject (or figured it out for yourself). An easy may to see if that's the still the problem is when the dialog doesn't show up, it should act like there's a modal dialog you just can't see. I.e., you can't click on AI's menus, panels or the document. If that's the case but when you hit ESC it acts like the invisible dialog has disappeared, it's probably still the DIALOGEX thing in some way. I might have a suggestion or two on that score if that's the case.
Code-wise though, you look fine. So I always strongly lean towards that stupid DIALOGEX problem.

Similar Messages

  • Ps CS5 "Print Page Setup" dialog will not open

    Hello: I was printing via my Photoshop CS5.
    I accidentally created a paper size of 0cm x 0cm and attempted to print (up to this point Photoshop and Print worked).
    I now (permanently) get an error message: "There was an error opening your printer. . . "
    Photoshop >File >Print. . . will not open the Print Page Setup.
    Photoshop >File >Print one copy (works, but still tries to print 0cm x 0cm, the printer spits out a blank page).
    Using the (Mac/Apple) app 'Preview' I deleted the paper size preset '0cm x 0cm'.
    apps; Preview, Text Edit, Mail, Word, . . . all print properly (they can open the 'Print Page Setup' dialog).
    I set up two other printers (now three in total) and they work with all applications (except Photoshop).
    I uninstalled and re-installed Photoshop and my printers, including all their preference files.
    Also, I again deleted Photoshop preference files by opening Photoshop while pressing 'Shft-Opt-Cmd'.
    In 'System Preferences' >Print & Fax >Printers; I reset my computer's "Printing System".
    I repaired 'Disk Permissions', Safe Boot and have also done multiple restarts.
    Since only Photoshop has a problem, I believe Photoshop has (somewhere) set a preference thinking it's default paper size is 0cm x 0cm which is throwing an error and preventing the 'Print Page Setup' from opening.
    I updated Photoshop Adobe Air, Printers, . . . after re-installing.
    I ran an app that clears my computer's caches.
    I reinstalled (and updated) my computer's operating system (OS only, not my account and data).
    I would appreciate your help. Thank-you, M_L_R
    Mac OS: 10.6.8, Apple/MacPro 2009, 2 x 2.93GHx 8-Core processors, 16GB of Ram (DDR3 1066 MHz)

    Hello: I repaired my (Print: Page Setup. . . dialog panel will not open) problem.
    The fix was one of the many suggestions I researched in the 'Adobe Help'.
        Unfortunately I dismissed this solution (until now).
        reference: http://helpx.adobe.com/photoshop/kb/error-install-printer-photoshop-cs4.html
            see >Solution 7: Create a different user account and run Photoshop as that user.
    Some of the (following) procedures may not be necessary, but the core solution is in there. . .
        Mac OS X v10.5 or later >System Preferences >Accounts >Guest Account (sharing only) >Allow guests to log in to this computer >Automatic Login (for Administrator, still active - optional) >then log out of the (main/administrator) account >then Log in to the guest account >go to the applications folder (in the guest account) >open Photoshop >create a new simple document (example: create one text letter) >Print. . . (in this situation Print: Page Setup. . . the dialog panel opens [remember: this is the error problem in the main account]) >(do what you normally do) select your printer >set up a page size and printer options >print. Save that Photoshop project >delete that Photoshop project >Log out (of the Guest account) >Log in to your regular (main/administrator) account >the Guest account can now be deactivated (optional) >open Photoshop (in your main account) >test print a simple document >the (Print: Page Setup. . .) dialog panel now opens >(do what you normally do) select your printer >set up a page size and printer options >print. Save that Photoshop project >delete that Photoshop project >the (Print: Page Setup. . . dialog panel will not open) problem is repaired. Bye for now, M_L_R

  • Visual Studio 2012 Toolbox - Choose Items Dialog will not display

    Hi
    When i click on a new or exisiting tab in the toolbox and select 'choose items' the dialog box does not display this is either from the main menu or context menu.
    I've reset the toolbox, deleted the .tbd files, run devenv in safemode, reset settings, reset skip packages and nothing.
    The status bar says the dialog box is opening but soon as you focus the ui this status message disappears.
    I also have VS2010 installed and this is working fine
    Anyone any ideas ???

    Hi f4tb0v,
    Thanks for your post.
    If that dialog is not display after you click "choose toolbox Items", Visual Studio on your OS may corrupt.
    Could you please repair VS2012 from control panel?
    By the way, can you run Visual Studio 2012 as administrator, can you see the dialog?
    If the error persists, try gather activity.xml by referring to  http://msdn.microsoft.com/en-us/library/ms241272(v=vs.110).aspx and then share the file
    to www.skydrive.com  Then right click the file to share it, you will be able to get a link for me.
    I also recommend you do a reinstall of VS2012 to see if the issue can be fixed.
    Regards,
    Barry Wang
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Search field in Open dialog will not find pages documents but will find identical Microsoft word documents

    This is a new one. Problem seen on iMac and Mac Pro.
    1) Create a new Pages document (newest version).
    2) Save to the Desktop
    3) Export as MS Word document with the same identical name
    4) Close the Pages documents
    5) Quit Pages
    6) Open Pages
    7) Choose File : Open
    8) In the search field in the upper right corner of Open dialog. Enter the name of the document just saved.
    9) Only the MS Word document is listed. the Pages document is not shown, even when Filename contains is selected
    If anyone knows how to fix this problem. please comment on this request.
    thanks

    thanks for testing. I do realize that the two test files will show up in the Open dialog as it opens to the Desktop folder. But what happens if it opens up in another folder and you need to locate a Pages file where you don't know the location, you remember the name. You would go to the search field in the upper right corner of the Open dialog and enter the name. In the Open dialog, the name would be listed and you can choose the one to open. In my tests, the search field would only show the MS Word document, not the Pages i.e. only one would be listed not two. Also, Filenames is an option that does appear in the search field in the Pages Open dialog.
    The examples files I created are called "This is a test". The content of the file is "This is a test" (without the quotes in both). the search field in the Open dialog is suppose to locate the text in the documents if enclosed in quotes which it does for the Word document but still will not find the pages document. You can click Filenames while entering in the search field and the same occurs, only locates the Word doc, not the Pages doc.
    thanks again
    Stuart

  • Itunes will not popup and recognize Ipad air after initial setup. Advice?

    I was installing a new ipad air to replace a lost and erased one. It was downloading apps and content as expected. I stepped away for a couple of hours. Now it shows the design directing you to connect to itunes. When I connect it to the laptop, Itunes does not popup or recognize the ipad and the ipad does not open. will not open up. The screen with the design directing connection to Itunes persists. Advice?

    That means that the iPad iOS software has to be restored and you will need to try recovery mode now.
    If you can't update or restore your iOS device - Support - Apple

  • Import Dialog will not auto open - Lightroom 4.1

    Since I upgraded to Lightroom 4.1 from 3 the Import Dialog screen will not auto open when I insert a memory Cart to my Imac. 
    I have the correct box ticked in the preferences.

    I have performed all of the above and I still can't get Lightroom 4.2 to open to the Import screen when inserting a memory card. If LR is already open and then a card is inserted...yes the Import screen opens. If LR is 'Quit' (closed) and a card is then connected Lightroom opens to the Library, but not the Import screen. I have also tried to delete the preferences files and restart, but I'm unsuccessful with multiple tries there too.Running a Macbook Pro 10.6.8. Lightroom 4 opens as desired—connect card via card reader, LR launches and opens to the Import screen—on my iMac 10.7.4.
    LR 4.2 Build 850741
    Chrlz_B

  • Unable register Photoshop that was purchased at retail store - No serial # anywhere on box, only a product code with # and letters. Dialog will not take letters.

    The online instructions say the serial number is either on the box (there is one that does not have enough characters by the barcode but why would they put the serial number on the outside of the box?) or on the "back" of the CD. There are no numbers on the CD and the sleeve has no numbers as well.
    The user manual has a sticker with a Product Code that contains a series of letters and numbers. When I try to enter the Product Code it will not allow letters. If I enter only the numbers, no luck.

    Redemption Code Help
    http://helpx.adobe.com/x-productkb/global/redemption-code-help.html

  • Resend confirmation dialog will not stop popping up, despite following instructions

    I have a website that performs a reload() of a page periodically. Despite all that I've tried, I cannot keep the following dialog from popping up in Firefox: "To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier."
    I have tried the following:
    1 - implementing post.redirect.get on the web page
    2.- Going to Tools->Options->Advanced and unchecking/checking the "Warn me when websites try to redirect or reload the page" checkbox (it was already unchecked, but I tried it both ways just in case).
    3 - going to about:config and setting browser.sessionstore.postdata to 1
    NONE of these have resolved the problem. Any ideas?

    If you've reached that page via sending POST data in a form then you may not be able to do anything about this.<br />
    GET data appended to the URL (location bar) usually doesn't pose any problems, but if Firefox needs to send POST data from a possibly hidden form then Firefox will always ask for confirmation.<br />
    If you can reach that page directly then you can try that.

  • I can't change Download Location, or Save pages/images..."Browse" dialog will not show.

    If I go into Options, and click "Browse" to change the Download location, nothing happens. I have used Firefox for many years and have never had this problem. I just did a clean install of Win7 (wiped entire HDD), and the problem started when I installed Firefox this time.
    I can also NOT "Save Page..." or "Save Image As..."....basically anything that requires a Browse dialog window does not work, it just stalls and nothing happens.
    I read another report of this, and the only solution that was given was to Reset Firefox. I did that, to no effect. I also saw something about migrating profiles, etc....I did not import anything into Firefox when I installed, nor do I have more than one user account in Windows. It's a really odd problem, but unfortunately I can't use Firefox if I can't save things. I've tried browse dialogs in other applications and I have no problems there.
    Thanks for any assistance! Just to re-iterate, this is a completely clean install of Firefox and Win7...I even tried uninstalling/reinstalling Firefox before posting here.

    I hope this helps-
    Go to the option menu and under the General tab, chose "ask me where to save files" and then restart Firefox in safe mode.
    If this doesn't work,check for updates.
    You can also read this article
    https://support.mozilla.org/bn-BD/kb/cant-download-or-save-files

  • "Missing linked file" dialog will not dismiss

    Often, when I open an Illustrator file and I get the message "Could not find the linked file <bitmap file>..." The Replace/Ignore/Cancel buttons are unclickable, and there is absolutely nothing I can do but force quit Illustrator, losing all unsaved work. The keyboard commands Return, Command-period, and Escape have no effect, either. Has anyone else experienced this, and is there any way to dismiss the dialog that I haven't thought of?
    Illustrator CS6 on Mac OS 10.8.2

    Has your missing linked file problem been resolved?
    Try option clicking doc apps when  Illustrator appears to be the forground app  you cannot pull down menus and none of the tools work. In reality Illustrator looks to be the forground app, but is not, as the finder got corrupted and is somewhere in between apps, and you may for exampel be able to swithc tools in Illustrator but they have no effect.

  • Print dialog will not close

    using this code i am opening a print dialog,  when i click cancel another opens... any ideas
    var reportObj = new Report();
                reportObj.ReportSettings.PageOrientation = PageOrientation.Landscape;
                // 2. Create EmbeddedVisualReportSection section. 
                // Put the grid you want to print as a parameter of section's constructor
                var section = new EmbeddedVisualReportSection(patientArchiveGrid);
                // 3. Add created section to report's section collection
                reportObj.Sections.Add(section);
                // 4. Call print method
                reportObj.Print(true, true);

    Hello petetataliba,
    I've done a research and found that you are not using Microsoft Class but the code is from here:
    http://help.infragistics.com/Help/Doc/WPF/2012.2/CLR4.0/html/InfragisticsWPF4.Reporting.v12.2~Infragistics.Windows.Reporting.EmbeddedVisualReportSection.html
    You may know that it should be supported here:
    http://www.infragistics.com/community/forums/140.aspx
    Not in MSDN forum.
    And I also see the example shows the code is
    reportObj.Print(true, false);
    not this:
    reportObj.Print(true, true);
    Please check if it is the problem, if not, please consult this third party forum for support.
    Regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • "connecting to server" dialog will not go away

    When I connect to a server on the local network at work, it is successful at connecting, but the "connecting to server" dialog with progress bar remains up. It will go all day long, and even persist after I have disconnected from the server, put the computer to sleep and woken it back up, etc. It has no effect that I know of, aside from being ANNOYING

    Have you tried making a new User, logging in under that one, and see if it happens there yet?

  • Import dialog does not come up in Lightroom 5.2RC

    I've used Lightroom 5.2 RC for a few weeks and successfully imported a few times. This morning, however, the dialog will not come up and the program hangs until I kill it in Task Manager. This is in Windows 8 64-bit.
    I've tried removing the memory card, and all other USB-connected devices, but it still hangs. Is this a known problem? Are there any known workarounds?
    I'm a developer and can supply crash dumps if necessary. Here is what looks like the relevant thread if it helps the Adobe devs:
    Call Site
    ntdll!ZwWaitForSingleObject+0xa
    dobe\Adobe Photoshop Lightroom 5.2 RC\Import.lrmodule -
    KERNELBASE!WaitForSingleObjectEx+0x9a
    Import!TerminateMOXThread+0x253
    Import!RegKeyCR::~RegKeyCR+0x2e4
    AgKernel!luaopen_package+0x6887
    AgKernel!AgLua_setBreakpointsForChunk+0xc2f9
    AgKernel!luaopen_package+0x69d1
    AgKernel!AgThrowProgramErrorWithFormat+0x72
    AgKernel!lua_yield+0x2fe
    AgKernel!lua_pcall+0x60
    ui!AgWinMenu::AgWinMenu+0x5d0
    ui!AgMenu_performCommandID+0xe3
    ui!AgViewWinMainFrame::OnCommand+0x32
    mfc100u+0x26e12a
    mfc100u+0x26e08c
    mfc100u+0x26b8dd
    mfc100u+0x26bc84
    mfc100u+0x1201c7
    USER32!DispatchMessageW+0x1fe
    USER32!MsgWaitForMultipleObjectsEx+0x237
    mfc100u+0x2550ca
    lightroom!GetAppInstance+0x2258
    mfc100u+0x255993
    mfc100u+0x287548
    lightroom!AgDataProvider::GetProviderType+0x12ba
    KERNEL32!BaseThreadInitThunk+0x1a
    ntdll!RtlUserThreadStart+0x21

    Looks like if I reboot, it resolves itself. Not sure what happened. I did grab a crash dump just in case.

  • Popup TitleWindow component will not go away

    I have a very odd situation that I do not understand. I am
    attempting to create a dialog box and can successfully do so. The
    problem is, when I attempt to remove the dialog box, it does not go
    away! When I instruct the pop-up manager to remove my pop-up, it
    appears as though the dialog disappears. The background screen is
    once again in focus but there is still another copy of my dialog
    box on the screen that will not go away. The remaining dialog box
    still captures and emits events but it will not remove itself event
    though I tell to repeatedly.
    I create pop-up as follows:
    var popup:IFlexDisplayObject =
    PopUpManager.createPopUp(component,PreferencesComponent,false);
    PopUpManager.centerPopUp(popup);
    In order to close the dialog I simply catch the close event
    and instruct the dialogue to remove itself as so:
    PopUpManager.removePopUp(this);
    When I create simple modal dialog boxes like the development
    guide illustrates everything works correctly. However when I
    attempt to create the modal dialog box in my application I observe
    the above behavior. The behavior occurs whether the box is modal or
    not. It occurs when my parent is the application or a child
    component of the application. I have found no way to coax the
    dialog box to completely remove itself. It almost appears as though
    it is a bug but I cannot easily reproduce it to submit a bug
    report.
    I must be missing something. Perhaps I am not specifying the
    correct parent for the pop up. My application consists of a
    hierarchical tree of components. I am not certain what type of
    information to post. Any ideas would be welcome. Thanks a bunch.
    I am using Flex Builder 3, Beta 3.
    JB
    P.S. Sorry for the lack for HTML formating, but I couldn't
    seem to find a good way to post code on this forum

    Hi there,
    I'm fiddling also with popup windows and have the problem
    that when i call the same code again my popup doesn't appear.
    But now your problem, I think that your problem is that the
    code does not now what "this" is anymore..
    I use this:
    PopUpManager.removePopUp(popup);
    and works fine by me.

  • Photo gallery popups will not open in firefox, but does in internet explorer

    In the last few days popups within a website will not open. IE photo gallerys, logins for internet banking.
    It seems to be a problem only in firefox as they will open with internet explorer

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

Maybe you are looking for

  • Problem with Date format. Please advise.

    Hi, Could someone let me know why the following query is failing. SQL> select sysdate from dual; SYSDATE 14-JUN-07 SQL> select sysdate-'01-JAN-98' from dual; select sysdate-'01-JAN-98' from dual ERROR at line 1: ORA-01722: invalid number SQL> Thanks,

  • AR Balance report

    Hi One of our customer has both debit and credit line items with same amount. Hence the AR line item report (S_ALR_87012197) shows a cumulative balance of zero.(though it shows both the line items)  But when we create AR account balance (S_ALR_870121

  • How can i sign out of my hotmail in mail?

    I´ve signed in with my hotmail in mail. Every time i open the program mail, my inbox comes up. How can i sign out, so other people cant read my mails, or so other people can check their mail? Anyone with the same problem? Please help, I´ve just bough

  • USB 2.0 Problem with Hard Drive

    Hi I bought a new iBook this week, and have been itching to use USB 2.0 for my external hard drive. Unfortunately, when I try and copy my music from my external hard drive to my Mac, the computer hangs and crashes the system. After I reload, the fold

  • How can I import my photoshop images onto my ipad?

    How can I import my photoshop images onto my ipad?