Flickering and Gray Box When Closing Dialog

I have a JPanel on which I paint a lot of stuff. When I close a JDialog that had appeared on top of a portion of the JPanel, I sometimes get flickering and gray box ugliness for a split second.
Of course, the paintComponent method that I have for the JPanel is getting executed. It doesn't seem to be much of a problem most of the time when I run JRE 1.3 for Windows on one of the computers I use. Then I use the application on a higher-performance computer with JRE 1.3 for Windows going, and the flickering gray box nonsense always seems to occur.
Does anybody have possible suggestions on how to improve this situation?

you could try to set it invisible before closing it.

Similar Messages

  • When I try to download the creative cloud the page doesn't load, I tried different browsers, still all I see are blue and gray boxes!

    When I try to download the creative cloud the page doesn't load, I tried different browsers, still all I see are blue and gray boxes!
    HELP!

    If you're facing this problem, just wait and it will work!

  • Black and gray box keeps popping up on my monitor and I cant get it to stay off

    Black and gray box pops up on my monitor. Cant move my mouse over it. Cant remove it. It just recently started doing this. I know it has to do with the settings on my monitor, but im not sure how to set it. When I tried, it would go off for a few minutes and then pop right back up. I want to try to set it so that it wont keep appearing. I would aappreciate any suggestions, as im not good at figuring out this sort of thing. Thanks, Mary
    My monitor is a wide screen HPw2338h

    Could you perhaps describe this "black and gray box" better?  Does it have any text?
    {---------- Please click the "Thumbs Up" to say thanks for helping.
    Please click "Accept As Solution" if my help has solved your problem. ----------}
    This is a user supported forum. I am a volunteer and I do not work for HP.

  • If you check the don't show this again box when closing multiple tabs, how do you get it to warn you when closing multiple tabs, or to save previous tabs? Checking the warn me when closing multiple tabs box under tools/tabs does not work to solve this?

    I accidentally checked the do not ask me again box when closing multiple tabs. Now I no longer get a warning when closing multiple tabs, and it saves my previous session. I have tried checking and un-checking the warn me box under tools which has not worked. If I open a second window and try to close multiple tabs it will warn me but not on the first window.

    You can reset the warn prefs on the about:config page via the right-click context menu.
    browser.tabs.warnOnClose , see http://kb.mozillazine.org/About%3Aconfig_entries
    browser.warnOnQuit , see http://kb.mozillazine.org/browser.warnOnQuit
    browser.warnOnRestart , see http://kb.mozillazine.org/browser.warnOnRestart
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />

  • [svn:cairngorm3:] 17872: Popup: Exposed set accessor of open for view state usage and fixed bug when closing from model within popup .

    Revision: 17872
    Revision: 17872
    Author:   [email protected]
    Date:     2010-09-27 08:04:40 -0700 (Mon, 27 Sep 2010)
    Log Message:
    Popup: Exposed set accessor of open for view state usage and fixed bug when closing from model within popup. http://www.spicefactory.org/forum/viewtopic.php?p=3932. Added new sample to show model and view state interactions.
    Modified Paths:
        cairngorm3/trunk/libraries/Popup/src/com/adobe/cairngorm/popup/PopUpBase.as
        cairngorm3/trunk/libraries/Popup/src/com/adobe/cairngorm/popup/PopUpFactory.as
        cairngorm3/trunk/libraries/Popup/src/com/adobe/cairngorm/popup/PopUpWrapper.as
        cairngorm3/trunk/libraries/PopupTest/.actionScriptProperties
        cairngorm3/trunk/libraries/PopupTest/src/samples/MyPopup.mxml
        cairngorm3/trunk/libraries/PopupTest/src/samples/PopUpPM.as
    Added Paths:
        cairngorm3/trunk/libraries/PopupTest/src/PopUpModelExample.mxml
        cairngorm3/trunk/libraries/PopupTest/src/samples/MyPopupWithModel.mxml

    Lots to be excited about. BUT...Just updated to 8.1 on one of my computers to test it out...
    Sadly, the following issue is NOT fixed for me. Is it with new projects only?  I haven't started a new project on 8.1 I've only opened an old project but the issue that I'm referring to which involves also a delay/freeze of anywhere from a few seconds to a MINUTE while the render bar goes from yellow to red and then back to yellow is still there. Boo.
    On the list above...
    Switching between sequences can turn the render bar red.
    This issue is incredibly easy to replicate. I really do hope it gets fixed. Here are the steps:
    1) Create two sequences with multiple short clips (the more clips the better)
    2) Make sure GPU acceleration is enabled.
    3) Add warp stabilizer to the clips in both sequences. Again, the more clips the longer the delay/freeze will be as the render bar goes from YELLOW to RED and then eventually back to YELLOW again.
    4) Hit SAVE.
    5) Now, toggle between sequences. You'll hit a short delay with a few clips stabilized and a LONG delay with lots stabilized. In my case this delay is around a full minute. The render bar will go from YELLOW to RED and then back to yellow...eventually.
    6) Toggle back to the original sequence and the delay occurs again.
    7) Once you've toggled between sequences and have gone through this delay, that's it, there is no longer a delay...UNTIL...(and here's the big kicker)...until the project is SAVED again. After that the issue returns when you toggle between sequences. Both saving manually and AUTOSAVING cause this issue. No way around it except not editing with GPU acceleration.
    Not sure what the issue is...caching issue when saving maybe? Either way, it stinks and it's still there in 8.1. Big bummer.
    Again, lots to be excited about with this release but I really was hopefully this specific issue was resolved.
    Sigh.

  • Removing any and all message boxes when closing a extended PDF in Reader

    Hello all,
    We have a requirement to have a form Reader Extended BUT when closing the form to NOT have any message windows pop up asking the user if they want to save the form, etc.
    Any way to do this?
    Rick Kuhlmann
    Tech-Pro

    Then you need to make Adobe Reader the default app for opening PDF files, instead of FireFox. I think FireFox just started doing this, and it's causing some confusion.
    As well as the normal Windows way of changing default app, which is not as well known as it should be, you should be able to use Adobe Reader. In Edit > Preferences look in the General section and see if there is a button "Select Default PDF Handler".

  • Firefox 8 and the "Warn when closing...multiple tabs" preference check box still doesn't work?

    I'm aware that I can go into the about:config screen and toggle a couple of settings but the real question is "Why is this still a problem since version 4?" Why bother to have Preferences at all, if the given solution is always to tweak the config?

    This hint was posted on a similar link that works for me. Here is what to do:
    In option -> privacy -> choose "use custom history setting" and choose your preference for history and cookie setting. and then click "OK'.
    Then you will get the warning when closing multiple tabs.
    It doesn't seem to be related but it does affect the operation of the other part of the software that issues the warning.

  • Can no longer save a new bookmark directly to one of my foldersin bookmarks w/o saving, then dragging it from recently bookmarked. Any way to go back to old style of brining up list of folders in the gray box when adding a new bookmark?

    Until a recent update in Firefox, I could always save a new bookmark to the folder of my choice by using the drop down list in the gray box that comes up when I chose to bookmark a site. Now only a few of my folders - probably most recents - show up and I can't seem to access the whole list. I now have to go to "recently bookmarked" and drag the bookmark from there to the folder of choice. Any way to restore the ability to make it a one stop save to my folders like I used to? Thanks.

    No, I see the three areas at the bottom of the Bookmark area that you refer to, but that also highlights an issue.  When I want to save a story to my Reading List and click on Share then "Add to Reading List" then go back to look at what is stored in the Reading List, my recently-saved item is not there.
    I looked thru the History tab and the Reading List tab and have been in the Bookmark tab.  But even when I Save a Bookmark, that newly-saved Bookmark does not show up in the Bookmark area.
    But then again, the next day (and actually just in the last half-hour) all of the functionality came back.  When I look at the Bookmarks, suddenly, again, all of the Bookmarks that are on my Safari browser on my iMac are now there, and I can now Save a Bookmark.
    It keeps coming in and out and that is what is driving me a little nuts.
    Thanks.

  • HELP!  Exporting pdf issues - no email links and gray boxes around text

    I'm a newbie to indesign, and trying to learn the program as I go.  I need to export my pdf for onscreen viewing.  When I "print" it works, but I get no email links, and those annoying white lines here and there.  I read that exporting would solve the email link issue, but it opened another can of worms for my project.  Now all my graphics have black or gray boxes across them, almost like censor boxes.  But my email links work. 
       Learning Adobe is like learning a new language, and I have far from mastered it.  So when I exported, I used the lowest resolution presets, assuming it knew what worked better than I did.  After dozens of unsuccessful exports, can someone please help??
         Also, I've been reading posts that say to convert all spots to color to resolve the white line issue.  But it's grayed out in the ink manager.  What is the secret to unlock it?
    Thank you!!

    Thank you for any and all help!
    I have CS5.5, running on windows 7.  It is up to date as of 1 month ago.  Here's a sample of my problem pages.  Also, a screen shot of what it should look like.  My guess is it has something to do with the transparencies, since it's 2+ layers of embossed objects.  If I export in Acrobat 4 (1.3) these boxes don't happen. But then I get the thin white lines across my graphics, and no email links.  As for spot colors, I confess complete ignorance on all color issues,  but  I'm trying to learn as I go.  How can I export this correctly?

  • Lost photos and gray boxes

    Hello,
    Why is there a iphoto library icon in the pictures folder? I thought I was i pictures and therefore thought I had duplicate photos of what i have in iphoto. I turns out that I deteted all of the folders, thumbs, jpg, etc from the iphoto library that was located in pictures. Now I have a bunch of gray boxes. At the bottom of the screen it indicates that i have 1 of 82 pictures so i think they are somewhere, but i don't know where. I also have not emptied the trash.
    I would like to restore my computer to an earlier date especially if it means that i would get all my pictures back and reverese anything i did...is this possible?

    Hi Kathryn,
    Take that stuff out of the trash right now!!!!!!!
    You might be able to reconstruct the library.
    take a look at the iPhoto Library folder info next:
    This is a view of how the iPhoto Library looks in the Finder.
    It is organized by Year folders. Inside the Year folders are Month folders. Inside the Month folders are the days of the Month. Inside the day folders are the photos you took on that day. If you imported video clips and RAW files on that day they will be in an Originals folder. If you have edited any photo imported on that day, the original will be in that folder also.
    The iPhoto Library folder IS the folder that iPhoto imports all your images into.
    Two Apple kbs for you to read
    Don't tamper with files in the iPhoto library folder
    About the iPhoto Library folder
    The Macintosh OS doesn't have the same option as windows do of "restoring to an earlier date"
    If you can get the library put back together, launch iPhoto and if it recognizes the library it will open it. If it still is giving you gray boxes then you didn't put it back together right. With that few photos it might be easier to just create a new library and import the images back in.
    Close iPhoto
    Rename your messed up iPhoto Library to "iPhoto Library_old"
    Drag this library to your desktop
    Hold down the Option key and launch iPhoto
    This is the window you will get
    Create a new library or choose a library to open
    Choose to create a new library
    Once this new empty library is open it is time to import the images from your old library
    Go to File>add to library
    Navigate to the old library on your desktop and choose it.
    iPhoto will start importing the images from your old library
    This is what to expect:
    Your images will be imported in nice dated rolls. (make sure your view is set to sort by rolls to see it) There are a couple of caveats to this. You will get rolls named "Originals" These rolls will contain your video clips and your original images that you had edited. If you had RAW files they would be in those rolls too (I don't do RAW, so I don't know for sure) Delete what you don't want from those rolls. You will also get the jpeg pointer files to your video clips imported. They will just be jpegs and will not point to the video clips anymore as iPhoto made new ones when the clips were imported again. You can delete those. they should be in a roll right next to the newly imported video clips so they are not hard to find. The thumbnail files don't get imported as iPhoto makes new ones when the images are imported.
    Once all you images have been imported, check through the library and make sure everything looks ok.
    You can now start making your Albums, and do your keywords or any other organizational steps.
    You can also delete the old library on the desktop.
    It is also a good time to backup this new library to CD/DVD by burning the iPhoto LIbrary folder in the Finder, or copying the iPhoto Library folder to an external drive formatted for Macs, or copying the iPhoto LIbrary folder to an iPod.
    Good luck!
    good luck and get back with what you tried and what happened.
    Lori

  • Command S works inconsistently and displays no warning dialogue box when closing

    I am having a very strange issue with Photoshop CS6 - OSX 10.7 and 10.8 (recently upgraded).
    I havent been able to figure out how to reproduce this bug though it happens all the time every day while i work. 
    I work on a file maybe for 10 minutes to 1 hour and when I save a file with command s photoshop does nothing.  it will not save until i make any change that registers in the history and then it does save. 
    Even weirder photohop will close the file as though it had been saved giving no warning box with the "file has been changed, would you like to save?" message.
    This has lead to me constantly saving things and double checking if files are saved,  it has also lead to me missing a file from time to time and having to redo hour of work.  This is a huge and odd issue for me. 
    The issue started happening when I recently reformatted and reinstalled all my software.
    Has anyone ever encountered this issue?  Do i have some strange combo of settings on that make this happen?  I am at a loss and maybe a little blind to the real issue.
    Thanks    

    any chance maybe Photoshop was in the middle of an auto-save when you initated the save.  Have you tried leaving it alone for a while after pressing command-S and see if it ultimately saves?
    I don't know whether an auto-save can get in the way of a real save - maybe not.  In my case I've never seen what you're describing, and I have auto-save set for every 5 minutes.
    -Noel

  • CS4 Bridge and Photoshop crash when closing

    I am experiencing regular crashes with both Bridge and PS when I attempt to close them. Everything works until that time. I am using an iMac running 10.5.6. This is more nuisance than worry. Any suggestions?
    Cheers,
    Jeff

    hi jeff
    I've seen random crashes on closing and random freezes with a new box and 10.5.6. There are a couple posts here about stability issues, I'm not sure where the problem is, PS, OS, fonts, who knows, but there's something going on.
    And, since we (end users) don't have access to a bug list or known problems list with the exception of posts here on the forum, it seems that we are destined to revisit the same problems.
    regards j

  • PDF files viewed in Safari or downloaded through Safari: Text appears as black and gray boxes

    Hi, a client of ours is having issues viewing PDFs on her home computer. When she views them in browser OR if she saves them through the browser and opens them, she gets the same result. All text (it is an uncommon font being used) shows up as boxes:
    The error is occuring on OSX 10.6.8 using Safari 5.1.10
    The PDF file is being saved out through Word
    Client does not have Adobe Acrobat Pro
    Is there anything that can be done to get this to display properly on Snow Leopard / in Safari?
    Please let me know if you need additional details about the situation, and I'll get them from the client.

    Remove any AdobePDFViewer plugins from /Library/Internet Plug-Ins, restart, and the problem should be gone.

  • Exception not catched when closing dialog

    Hi,
    When I close one of my dialog (JDialog), this exception is raised. None of
    the classes from Exception trace are mine (they are all from javax or java)
    . How can I catch or avoid this exception??
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at javax.swing.plaf.basic.BasicTreeUI.isToggleEvent(BasicTreeUI.java:2192)
        at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent
    (BasicTreeUI.java:2247)
        at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection
    (BasicTreeUI.java:3432)
        at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed
    (BasicTreeUI.java:3393)
        at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
        at java.awt.Component.processMouseEvent(Component.java:5485)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
        at java.awt.Component.processEvent(Component.java:5253)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3955)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
        at java.awt.Container.dispatchEventImpl(Container.java:2010)
        at java.awt.Window.dispatchEventImpl(Window.java:1766)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy
    (EventDispatchThread.java:234)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy
    (EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)Thanks,
    Marie

    Hey,
    I doubt this stack trace is gonna be much help to anyone.
    Are you performing any clean up operations when you close your dialog.?
    You may well be, at any point in the dialog's life time, setting some field or value of a default Swing class to null. Or inadvertently passing a variable that evaluates to null, although it may not appear to you that it is in fact null.
    I fear you will have to start from the beginning of your code and analyse all the setXxxx() methods you call and be sure you are not in one-way-or-another passing any null values.
    For some methods null parameters maybe legal. However if that value is retreived by some other class and used but can not handle null values it will throw the exception.
    Imagine you set a JTable to use a grid of values litered with null values. It may not complain (I dont actually know). But if you have some logic that cannot handle null yet uses any arbitrary table value, at some point it will break.
    The best thing I could say is check what data is going in and out of you JTree. Also, you can examine the source code.
    If you can, post your dialog with any supporting data so that it can be run via a main method.
    Good luck,
    Darren

  • Itunes causes my computer to have a blue screen and shuts down when closing out Itunes window?

    When I close out my Itunes window my computer goes black then to a blue screen with words about crashing then shuts down in Windows Vista!

    Thanks, I did that yesterday and it worked. I tried to repair it but it said there was a fatal error and I don't even need that Mobile device support. anyway. So after I uninstalled it, it never happened the next two times I closed out Itunes after that.

Maybe you are looking for

  • Logical File name of Transaction File

    Hi All, I am using FILE_NAME_GET function module to get the Physical file name based on logical file name. But here i am not getting total file name, i maintained Physical File name as ZDM\INTB18\<PARAM_1>. Transaction File is stored in application s

  • Row currency exception (JBO-35007)

    Hi, i am working with adf in a web project I have a list of records in one page, and another pages for some different processes. Everytime i select one record and go to some page of those processes, when i return, the selection goes to the first reco

  • Purchase order document external send status

    From other posted messages that table NAST is not related to table SOST. We send PO to vendors via Esker Fax, therefore, the external sent status can be viewed via transaction code SOST.  Data of external sent is maintained in table SOST. But the doc

  • Ipod connection to computer

    I have a new ipod. When I connect the ipod to my computer the computer does not register its presence through itunes. What might remedy this problem.

  • ABAP Program Giving SAPSQL_ARRAY_INSERT_DUPREC Dump While Inserting Entries

    Hi Experts, I had z table in which i had made three fields as primary key combination , i also had a custom program in which i am inserting values into the z table using Insert statement. during the execution of the program it is going for a short du