Dialog Box not visible

Hello All,
I've a problem in Java Swing Application
My main Window opens up a child window (dialog box).
However, when I switch from my Java Application to another application and back again - the dialog box does not appear. Instead the main window is shown on the screen.
It's only after pressing ALT+TAB on my Java Swing Application, the dialog box appears.
This is problematic b'cause the dialog box is "modal" and if it does not appear first, I cannot do anything with the main window.
Is there a way to correct this?
Thanks in advance
-- Sunil
Ps: I'm creating the Swing GUI in Windows Xp

Hello Franck,
Thanks for your suggestion!
I did find the problem by tracing it to the bug database:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5063142
It seems that if you pass the "this" instance (of JFrame) directly to JDialog, the problem occurs.
However, if you pass the object that holds the JFrame instance, like you've mentioned above, the problem goes away.
I am still not satisfied as to how this occurs.
But for now, my immediate problem is resolved.
Thanks again!
Regards,
Sunil D

Similar Messages

  • ITunes 12: Buttons missing in dialog boxes (not visible)

    Hello.
    Since using iTunes 12 (in my case: German version) buttons like YES/NO or OK/CANCEL are not shown in smaller dialog boxes when iTunes wants to interact with the user and asks question whether to do this or to do that.
    The buttons are just not visible, the boxes are too small and they cannot be resized (= fixed size). I think this could be due to longer German texts in the dialog boxes compared to the English language version.
    The buttons are there but cannot be seen or clicked.
    Screen resolution is 1920x1200 and text zoom factor is 100% in Windows 7. Window size for these dialog boxes seems to be hard-corded and due to line breaks and longer texts in German the YES/NO buttons seem to get an unexpected carriage return moving the buttons out of the visible area.
    Please fix this!
    Kind regards,
    Argentinos

    Example: here a part of the buttons is visible but in many dialog boxes they are completely cut off.

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

  • Captivate 6 - Trying to make all click boxes not visible in output

    Adobe Captivate 6 - how do you make all the click boxes not visible in output.  Help says to uncheck the Visible in Output box, easy enough, then it say to click the Apply to all icon and there is no such icon.  Do I have to go through every single slide and manually do each one?

    Hello and welcome to the forum,
    I think you want to 'hide' the click box, so that it is not active, in the Properties panel? A click box itself is never visible to the user on the stage, but can be active or not.
    I always copy/paste an invisible object, it will keep its properties. Since a click box has no style, you cannot apply a style to all click boxes.
    Lilybiri

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

  • ACR Dialog Box not fully visible issue CS6

    I've got an issue with the ACR Dialog Box in PhotoshopCS6 when opening RAW files.
    The names various parameters (Temperature, Tint, Exposure, Blacks, Contrast etc.) are not visible, however you can see the sliders.
    It looks like a graphics issue as the background is black, but you cannot aee any text save for that in the WB dropdown.
    I've Googled this but not found any similar issues. It's very odd. Deleting the preferences hasn't made a difference, neither has a fresh install.
    See screen grab below
    Any suggestions welcome!
    Thanks

    Thanks people for your swift solution. I did look in the forums as well as in search engines, but didn't find these posts.
    I'll reinstall (or overwrite) the OS.
    FYI I'm on 10.8.4 on a Mac and do have MacKeeper, so there must be something in it.... grrrr
    Like people say it doesn't effects the 'normal' PS menus/screens, but does the ACR and I just checked the SAVE FOR WEB, and that too has the same issue.... (ACR 8.1 - PS 13)
    Hopefully someone clever will actually work out what it is that's being lost or corrupted.
    Thanks again!

  • Dialog box remains visible

    Hi,
    I have a series of dialog boxes connected.
    The problem is one of them remains visible even if I close it. But for the second time if I click the close icon at the right corner it closes.
    I have to click on the close icon twice to close the window.
    And when I click the Next button on this window new window A3 appears, no problem with that.
    But as I close A3, I still can see the window A2.
    How to remove that.
    The code of Dialog which is remains visible is somewhat as follows.
    public class A2 extends javax.swing.JDialog
        public A2 (java.awt.Frame parent, boolean modal )
         super(parent, modal)      // modal is true in this case
          initComponents();          //  this method sets the jbuttons and some other objects on the dialog.
                                             // I have a Next button too , where I am doing *setVisible (false);* and calling the constructor on next dialog box
                                             // at the end of this method i m using *pack();* method
          setLocation(320, 300);
          setSize(700,350);
          setVisible(true);
        private void initComponents()
         btnNext = new javax.swing.JButton();
         setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
                addWindowListener(
                        new java.awt.event.WindowAdapter() {
                            @Override
                            public void windowClosing(java.awt.event.WindowEvent evt) {
                                exitForm(evt);
        btnNext.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    btnNextActionPerformed(evt);
            pack();
      }       // initComponents ENDS
       private void exitForm(java.awt.event.WindowEvent evt)
                   setVisible(false);
      private void btnNextActionPerformed(java.awt.event.ActionEvent evt)
          setVisible(false);
    }         // A2 class ENDS

    >
    The code of Dialog which is remains visible is somewhat as follows.>Why would you waste my time by posting code that does not even compile*, let alone display the problem at hand?
    * And therefore cannot be the code you are using to see a run-time problem.
    Please consider posting SSCCEs in future. The SSCCE document even links to a handy little tool that helps determine if an SSCCE is actually compilable.

  • 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

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

  • 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

  • Open/save dialog boxes not working correctly.

    Environment: CS6 (PS 13.0.1) Mac OS X 10.7.5. Plenty of hardware. (Generally starting with .CR2 RAW.)
    Two open/save problems
    Recently (maybe since the 13.0.1 update??), I have been having problems with the open and save as dialog boxes.
    First. The open file dialog always defaults to Enable: blank (i.e. no file types enabled). Each time I have to  go to the bottom of the dropdown list and select "All readable documents" before I can open ANY type of file. I've searched in everyway I can think of looking for some method to have OPEN default to "all readable" but can't find anyway to do this. Anyone have a suggestion? I admit this is a nuisance more than anything, but when whipping around at deadline having to stop each time and make this change is irritating. No other program has this difficulty (including Illustrator and InDesign). PS5.5 did not exhibit this behavior on the same machine.
    Second. When I save as and try to select any file format, say going from psd to tiff, the format dropdown list ALWAYS selects the format ABOVE the one I choose. Example: If I select JPEG, PS tries to save as .iff. If I pull the selection down to JPEG2000 it will then save as standard JPEG. Again just an irritant but, tiff (which I need for several other programs) is last on the list thus there is no way I can go one below it to get tiff format selected. It always comes out as png. Also note that the Format selection indicates the correct format - in the case of tiff the dialog box shows TIFF selected, but the program is apending .png. (Continuing the save as (without altering my selection) always results in the incorrect format no matter what the Format dialog says in the save as operation.) Again, no other program I work with (including several Adobe products) exhibits this behavior.
    I seriously need to be able to save as tiff. Anyone with any thoughts on this?
    Thanks much,
    Robert

    I appreciate all responses particularly from an "Official Adobe" human being!
    Unfortunately, a significant amount of effort has been expended with no joy here.
    I have done the following;
    (1) examined every plug-in folder for duplicates - None found
    (2) deleted the symlinks (aliases) Topaz created referencing their plug-ins in /Library/Application Support
    (3) reinstalled the Topaz bundle - no change
    (4) Spoke at length with Topaz support and have been assured that all of their plug-ins are CS6 compatible.
    (5) Have had the same conversation with Nik regarding their 2 plug-ins - assured that they are compatible.
    Frankly I'm stumped here. I've combed my system in everyway I can without any change in PS behavior - on Open it defaults to blank and "Save as" selects the wrong format.
    Question for the experts. Would deleting PS completely and then reinstalling make a difference or am I now in uncharted territory and on my own?
    Thanks for all assistance,
    Robert
    Still need to save as TIFF but can't seem to get there.

  • Photoshop CS3 Save and Save As Dialog box not working

    I can't do a "save as" or "save for web" in photoshop cs3. The dialog box opens and I can't change anything but the file type pull down menu (and sometimes not even that). This problem happens sporadically.... but most of the time it doesn't work.
    I have re-installed Photoshop cs3 but I still have the same problem.
    Photoshop CS3 10.0.1
    MacPro 2 x 3 GHz Quad-Core Intel Xeon
    Memory : 4GB
    Mac OS 10.5.8
    Please Help

    I'm seeing exactly this same problem with Photoshop CS3  after the upgrade to 10.5.8. It appears that the dialog box never gets focus for "Save for Web and Devices" -- the title bar of the dialog is grayed out, while the main "Save for Web and Devices" panel still has focus.  That means there's no way to clear the dialog, since the panel is waiting for it to return, but the dialog can't get any input.  None of the standard resets work for any length of time.  I seem to remember similar problems in a much earlier release of Mac OS X, but I can't be sure.  Quite annoying.

  • CS6 Save/Save As dialog boxes not appearing

    I recently installed CS6 Master Collection (educational version, if that's relevent) and in many of the programs, I can't save. In Illustrator, Dreamweaver and After Effects, I will get the spinning wheel for a moment and then nothing happens. In Photoshop, I will get the wheel for awhile before a message pops up saying "Could not complete your request because of a program error." This happens whether I use the key command or go through the File drop down menu.
    If I try to exit out of the file, I will be prompted to save or don't save, but if I click save, it will just close the window and not actually save the file.
    However, I have no issues saving in Indesign or Flash. The print dialog box will also appear in the trouble programs. I also have CS5 on my computer (only ai, indd, and ps) and I can save in these programs without issue.
    I am operating on a MacBook Pro version 10.7.5, 2.4 GHz Intel Core i7, 8 GB 1333 MHz DDR3.
    Thanks for your help.

    I recently installed CS6 Master Collection (educational version, if that's relevent) and in many of the programs, I can't save. In Illustrator, Dreamweaver and After Effects, I will get the spinning wheel for a moment and then nothing happens. In Photoshop, I will get the wheel for awhile before a message pops up saying "Could not complete your request because of a program error." This happens whether I use the key command or go through the File drop down menu.
    If I try to exit out of the file, I will be prompted to save or don't save, but if I click save, it will just close the window and not actually save the file.
    However, I have no issues saving in Indesign or Flash. The print dialog box will also appear in the trouble programs. I also have CS5 on my computer (only ai, indd, and ps) and I can save in these programs without issue.
    I am operating on a MacBook Pro version 10.7.5, 2.4 GHz Intel Core i7, 8 GB 1333 MHz DDR3.
    Thanks for your help.

  • Save PDF File As dialog box not appearing

    I am running Acrobat 8 Pro on Windows Server 2008. I'm having a problem with the Adobe PDF printer. When I attempt to print a document to this printer, the "Save PDF File As" dialog box does not appear. The dialog box does open, but it is either hidden behind the running application or is minimized. I have to click the icon on the taskbar to bring the window to focus. This problem only occurs the first time I attempt to print after logging onto the computer. On subsequent print jobs the dialog box shows up fine.

    Is there a registry setting or anything that I can set to get rid of the 'Save Scanned File As' box.
    No.

  • Save Dialog Box not Opening

     I have  SQL 2012 running on a Windows server 2012.   I just loaded the Visual Studio Business Intelligence Studo 2012 that I downloaded from Microsoft.  My problem is that when I click "Save Copy of package.dtsx
    As..." , instead of getting the "Save Copy of Package dialog box"  , I get the regular generic windows Save Copy of box for saving to a directory file.  
    Is there some sort of configuration I need to do to have  Save Copy of Package dialog box popup?

    Hi jd51057,
    When we click “Save Copy of <package file> As” on the File menu in Project Deployment Model, we can only save the package on the disk.
    Please note that the procedures in the
    article is about Package Deployment Model. So if we want to open the Save Copy of Package dialog box, we should change the Model first, then refer the steps in the article.
    To convert the Model from Project Deployment Model to Package Deployment Model, please right-click the project to select “Convert to Package Deployment Model” option in the Solution Explorer. If a package uses features unique to the project deployment model,
    such as parameters, then the package cannot be converted. So please avoid use features unique to the project deployment model.
    The following screenshot is for your reference:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • Cisco Jabber client with other telephony devices

    Hi, I am completely new to Jabber and just started to understand Cisco jabber client for windows. I understood that the jabber client supports xmpp for IM and CTI integration with Cisco Call manager for call control. Is there a provision to integrate

  • G530, Installed Windows 7 and Fn keys no longer can control brightness

    Hello, I recently installed windows 7 on my Lenovo G530 and while most of the fn keys still work, the ones controlling the screen brightness do not: G530-444625U http://www.newegg.com/Product/Product.aspx?Item=34-146-556&SortField=0&SummaryType=0&Pag

  • How do i get a game for my new ipod when all the games are only for iphone or ipad?

    When i get in the itunes and go the the app store, it says iphone or ipad apps availble, but no ipod, I don't have a iphone or ipad, just the i pod. What do i do

  • Safari quits....

    hoping the brilliant man in hawaii can help me. can log onto apple get email and read these forums. that's it. period end of story. safari unexpectedly quits as soon as i go to load anything other than apple.com. also quits on netscape and internet e

  • When to use events

    Hi, I have been trying to teach myself LabVIEW for a few months now. I have learned a lot, most of which I learn as I need it. I have seen a lot of people mention "events", so I have been trying to learn about those. It appears to me that events are