Modeless Dialog Box Not Displaying Contents

I have created a simple modeless dialog box. Although the dialog box and title appear, the contents (a label) do not appear. The dialog box does display correctly if the dialog box is switched to a modal box.
I got into this problem because I also cannot get labels to change after their initial display on the main frame. I've tried repaint() and Thread.sleep().
Please help me, I am a newbie to Java.
Sincerely,
John

I actually had a similar problem with a JDialog containing only a progress bar, which ended up being a problem with Swing rather than my code (the bug report has already been filed). Adding a second component to the dialog fixed the problem, counterintuitive as that seems. Try it and see if that helps... If the label is a JLabel, you might try calling revalidate() on it to get the text to update.
Ian

Similar Messages

  • BPS_WB: Please Wait Dialog Box not Displaying correctly???

    When we switched our Planning Interfaces to using the New Planning Interface Design the Please Wiat Dialog Box does not display correctly. 
    When a Request is fired and the client is waiting for the Response all that shows is a white block in the middle of the screen with no dialog screen or other information. 
    It maybe associated with the following:
    function bpsOpenURLSelf(doIt, url)
          if (doIt) {
            try {
                document.body.style.cursor = "wait"; // works only in IE
            } catch (ex) {} // ignore
            open(url,'_self');
          // note: function with doIt==false is used to check
          //       existence of the opener window
    Or it may be associated with a CSS issue?
    I am currently using IE 6.0.2900.2180.
    Any thoughts would be appreciated!
    Thanks, ATC

    Hi Alan,
    please implement SAP note 845305.
    Regards
    Marc
    SAP NetWeaver RIG

  • Swatch Option Dialog Box Not Displaying Properly

    Whenever I open a Swatch Options Dialog box the Pantone preset colors overlay on the slider bars so that I cannot access the slider bars.
    I've posted a screenshot of what I'm talking about at www.cranstoninc.com/screenshot.jpg
    I tried trashing the com.adobe.indesign.plist file to resolve the issue but that didn't help.
    Any ideas on how to resolve this would be appreciated.

    I found the answer in another post by nread so I am posting his solution here as well.
    I went into my Configure plug-ins, disabled the swatches plugin and its dependancies (created a new plugins set config), then quit and restarted InDesign. After that, I re-enabled all the plugins I disabled (by reloading the default configuration) and restarted InDesign again. Now my swatches work perfectly!
    This worked for me as well.

  • Print dialog box not displaying correctly.

    When I go to print, not all of my options are there and I can only exit the print screen by pressing esc. I am on windows 8 and just got the CC last week and installed my printers, but Illustrator is now working properly. Please see the attached screencap for what I am seeing. Thanks

    Hi Alan,
    please implement SAP note 845305.
    Regards
    Marc
    SAP NetWeaver RIG

  • File Save dialog box not showing correct file name while saving file

    hi
    Currently, after the Submit button is hit, the File Save dialog box is displayed. If the user saves the file and then opens it then the output appears correct however if the user chooses to open the file without saving on the local machine then the correct viewer is not used to display the file. The name of the file is defaulted as qotSCopPrint.jsp and the default file viewer for jsp files is chosen to view the file. The format of the file is obviously not text (it is either pdf or rtf) so the output shows binary characters.

    data : v_repid like sy-repid.
    parameters : p_file like rlgrap-filename.
    initialization.
    v_repid = sy-repid.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'F4_FILENAME'
           EXPORTING
                program_name  = v_repid
                dynpro_number = syst-dynnr
                field_name    = 'P_FILE'
           IMPORTING
                file_name     = p_file.
    Message was edited by:
            Chandrasekhar Jagarlamudi

  • How to handle the button "cancel" in a dialog box for displaying views?

    Hello!
    I ve a question about handling the cancel button in a dialog box for displaying views.
    I ve already implemented the dialog box by using the following code:
    METHOD eh_onnewqact.
      DATA stitle TYPE string.
      IF m_popup IS BOUND.
        stitle = cl_bsp_runtime=>get_otr_text( alias = 'ZCC_ICRM/NEW_TASK' )."cl_wd_utilities=>get_otr_text_by_alias( 'ZCC_ICRM/NEW_TASK' ).
        m_popup = comp_controller->window_manager->create_popup(
          iv_interface_view_name = 'ZCC_POPUP_NEWBT/NewQActWindow'
          iv_usage_name = 'CUNewQAct'
          iv_title = stitle
        CALL METHOD m_popup->set_on_close_event
          EXPORTING
            iv_view       = me
            iv_event_name = 'NEWQACT_POPUP_CLOSED'.
      ENDIF.
      m_popup->open( ).
    ENDMETHOD.
    My dialog box consists two buttons - cancel and create.
    The cancel buttons should close the popup and the create button should create an entity of a specified object. but let us come to the cancel button. I did´nt find any information about implementing an cancel button. So, how should I implement it? I thougt
    me->close( ). But that didnt works!
    Could u give me further information about that, because my cancel event-handler is empty?
    method EH_ONCANCEL_QACT.
    endmethod.
    After that I would know how my calling view could know that the user pushes the Create Button and how the data of 2 inputfields of the dialog box finds their way to the calling view in order to process this data there?
    Thank you very much!

    Hi Michael,
    thank you for your advice! This problem is solved...
    ...but I have another issue. Ive implemented 2 editable fields in my popup. The user should fill that fields with context and that context should be processed in the calling view of my popup.
    My question is how to transfer these information from my popup to my calling view or method?
    I tried the following...
          lv_context_node ?= m_popup->get_context_node( 'QUICKACT' ).
          IF lv_context_node IS NOT INITIAL.
            lv_text = lv_context_node->get_date( attribute_path = '' ).
          ENDIF.
    But it doesnt work! The context node object is always empty/initial.
    Thank you!
    PS: Another possibility could be that the object / node of the calling view is transferred to the pop-up in order to process it there.
    Edited by: Marcus Findeisen on Feb 22, 2011 12:13 PM

  • 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.

  • WebHelp not displaying content in left nav pane

    Any suggestions for why WebHelp is not displaying contents in
    the left navigation pane? When Help is called, it displays the
    frame (including buttons such as glossary, search, contents, etc)
    and the work area, but does not show the TOC in the left navigation
    pane.
    I have also tried generating FlashHelp, with the same
    results. This time, only the work area displays. Any suggestions to
    fix this?
    This is a new project, where RoboHelp is being deployed for
    the first time. Any suggestions for making this a simpler
    transition would be much appreciated. I have used RoboHelp for many
    years with a different company and do not recall ever running into
    this many problems.
    Help!

    Sorry, I haven't used the CSH method which, by the way, was
    designed to show only the topic at first, I think.
    I give my developers a list of path/filenames for topics, and
    they use this form:
    .../helpdirectory/myproject.htm#targettopic.htm
    There are some shortcomings to this method, which leaves the
    window open and, when you call another topic, another new window
    opens. In other words, you have to close the help window manually
    to avoid windowmania.
    A solution is a little js that checks to see if a window is
    already open, closes it and opens a new one. (If no help window is
    open, it's a harmless js error.) It's fast enough that you wouldn't
    notice.
    The downside here is losing the browser history. Forward and
    back buttons work only so long as the help window stays open.
    In my opinion, this is not a major concern, since many Web
    based applications these days tell users not to use the back
    button. Production users won't mind so much.
    For ordinary people doing e-shopping and online banking, the
    browser back button is anathema.
    The bottom line is, if you have a decent set of navigating
    options built into the design -- TOCs, left or right rail lists,
    useful links at top and/or bottom of the topic page, the back
    button can become superfluous.
    Browe sequences work fine from any point in the lineup (I
    know, it's not the same as browser history -- unless you give them
    a really useful set of sequences).
    The forever-loading left pane is gone in RH 7.
    Hope this is useful.
    Harvey

  • Dialog box "not enough stoage" appeared on

    dialog box "not enough stoage" appeared on iPad; this iPad cannot be backed up because there is not enough iCloud storage available.  You can manage your storage in settings...my choices are "close" and "settings"...neither works...help?!

    Reset it by holding the power and home buttons at the same time until you see the Apple logo, then release.  Then use this guide to manage and free up storage space in your account: http://support.apple.com/kb/ht4847.

  • Dreamweaver CS4 MacOS X dialog boxes are displaying the wrong font

    Just installed a free font I needed to use for a graphic design project. Opened up Dreamweaver to do a different project and found that all the text in the dialog box was being displayed in this font.
    This is pretty maddening to look at - how do I change it back?

    Er, uninstall the font?
    Installing a new font should not do that to Dreamweaver. It sounds as though you have overwritten a system font.

  • Return results from custom dialog box not visibly updating field value

    I have a form with custom dialog boxes (execDialog) for data entry. The dialog box is being called from the Entry event successfully. I also have it called from the Click event. So, here's what I get:
    1. On entering the field, I get the dialog box pop up, I select a value, it visibly changes the field raw value and leaves focus in the field.
    2. If I exit the field and re-enter, it also works as in point 1 (as expected)
    3. If, while focus is already in the field, I click in the field, I get the dialog box, as expected, but after selecting a value from the dialog, the field raw value DOES NOT VISIBLY change until I exit the field! It's kind of like the click event is working in conjunction with the Exit event. This is totally counter-intuitive for a production form that is being designed for the general populace.
    Anyone had any experience with this?
    Cheers,
    Marty.

    Thom Parker answered this here: http://forums.adobe.com/message/2614570#2614570
    Answer copied below:
    "The problem is that when the focus is on the text box
    it's in edit mode. It's only displaying the value interactively entered by
    the user, or as a consequence of the change event.  What you need to do is
    force the focus off of the text box in code.  You can do a little trick
    where you bounce it to a tiny transparent field, which then bounds the focus
    back so it doesn't look like the focus changed."
    What I ended up doing was calling up the dialog box, then using setfocus with no parameters to remove focus from the field, as follows:
    this.rawValue = this.dialogBoxFunction(this.rawValue); // passing current value so dialog box defaults to that value
    xfa.host.setFocus();
    Cheers,
    Marty.

  • New script dialog box only displays momentarily

    FM10 in TCS3 on Windows XP
    My coworker and I decided to investigate Extendscript and when we select File>Scripting>New from the main toolbar, the New Script dialog box flashes momentarily and then disappears. However, selecting Run displays the Choose Script dialog box, and selecting Catalog displays the Script Library.
    We have the latest patches and have installed DITA-FMx, FrameSLT, and SDLAuthorAssistant in FM.  Could any of those be affecting the scripting function?
    Thanks in advance.
    m

    Using TechCommSuite 3.0 on Windows XP.
    I always like to close loops and this posting is no exception.
    After almost two weeks of diligent sleuthing by Adobe techs and our own security personnel, we determined that the problem of ExtendScript not launching was an in-house problem.
    We have a DLP application that interfaces with our desktops for security purposes.  We needed to identify the ExtendScript.exe that was running in order to allow it to function.  Our security guy performed some wizardry and voila!  I had my ExtendScript window.
    Mary

  • Reg: Drop-Down list Box not  displaying values

    Hi Experts,
                     i am publishing a module pool program in the internet using SICF Transaction . In the internet my drop down list box is not displaying the default value  but in my sap it works fine .
    What may be the problem?
    Regards,
    Vikram

    Hello Thorsten Domsalla ,
                      My Problem is in my sap module pool program there is a drop down list box which disaplays  default values its working fine in sap gui but when i access through internet (SICF) Transaction the Drop down list box not listing out default values .
    i am using Integrated ITS Version 7.0 and Support package 08.
    Regards,
    Vikram

  • Why is the 'Choose icon...' button in the Options tab of the field property dialog box not enabled?

    I am using Adobe Acrobat Professional XI running on Windows 8.
    This “feature” has been bugging me for some time now. I remember it happening when I used Acrobat 9 Professional (Windows XP) and it is still happening in Acrobat XI Professional. I think I figured out a situation when I can reproduce this “feature” conistently and I hope someone fixes this.
    Try the following and see what happens:
    1. Acrobat Professional is not open.
    2. Launch Word and start editing a document (or some other authoring tool that can generete PDF document).
    3. After editing the document, generate a PDF version of the document.
    4. Launch Acrobat Professional and edit the PDF document generated in 3.
    5. Add a button.
    6. View the button's properties.
    7. Change the Fill Color property in the Appearance tab to none.
    8. Change the Layout in the Options tab to Icon only.
    Now here is what bugs be. Shouldn’t the 'Choose Icon ...' button be enabled? It is not enabled after step 8. It is possible that 'Choose Icon ...' button is enabled for some of you. I this case, it would be nice if at least one of you who experience the same bug say so in this thread so that Adobe doesn't think I am sending them on a wild goose chase.
    I can enable it by selecting a different tab and then returning to the Options tab. A similar thing happens when reverting back from 'Icon only' to 'Label only' but I am not sure how to reconstruct a scenario for this one.
    Here is the dialog box for one instance when I noticed the bug.
    Regards,
    John

    You're right, it has been that way for a long time. I've never bothered reporting it as a bug since it's simple enough to deal with, but reporting it would be a reasonable thing to do.

  • Multi-Select Box Not Displaying Values Passed From Grid?

    Coldfusion 8
    I inherited an application and am trying to maintain and improve it... hit a snag today.
    I have a multi-select box that is not displaying what I expect.  The values come from a ColdFusion grid which is based off a database query.
    Here is the code for the select - does not work - nothing is selected:
    <cfselect name="USER_IDS" multiple="true" queryposition="below" selected="USER_IDS" query="ActiveUsersPlus" disabled="#disabled#" value="G_USER_WORK_UNIT_SK" display="G_USER_ID" >
    </cfselect>
    Now if I change the multiselect to a single select like below - it takes the first item in the field list (from the grid) and selects it in the drop down.
    <cfselect name="USER_IDS" multiple="false" queryposition="below" selected="USER_IDS" query="ActiveUsersPlus" disabled="#disabled#" value="G_USER_WORK_UNIT_SK" display="G_USER_ID" >
    </cfselect>
    Or if I assign a variable like this and use the multi-select code it seems to work as well.
    testlist = "22,26";
    <cfselect name="USER_IDS" multiple="true" queryposition="below" selected="#testlist#" query="ActiveUsersPlus" disabled="#disabled#" value="G_USER_WORK_UNIT_SK" display="G_USER_ID" >
    </cfselect>
    I have displayed the value of "User_IDs" in the grid and in the data entry part of the screen to see values of:  22,26
    to make sure that wasn't my issue.
    Do grids and multiselects require something additional?  Any advice on how to resolve?

    Problem was related to some javascript for the select box.  There was a function for a single select box but not a multiple select box - this fixed it: 
    if(theForm.elements[i].type == "select-multiple"){
                        var selectBox = theForm.elements[i];
                        var sbname = selectBox.name;
                        cpvalue = String(eval('record.data.' + sbname));
                        var NotifyArray = cpvalue.split(',');
                        for (var j=0; j < selectBox.length; j++) {
                            selectBox[j].selected = false;
                        for (var j=0; j < selectBox.length; j++) {
                            sbvalue = selectBox[j].value;
                            for (var k=0; k < NotifyArray.length; k++){
                                if (sbvalue == NotifyArray[k]){
                                    selectBox[j].selected = true;

Maybe you are looking for