Very intermittent JDialog issue - the panel component is transparent

Hi,
I am running JRE/JDK 1.6_06 on Windows XP SP2 and am getting a very intermittent issue
(happens perhaps 1 out 200 times or so). The issue is that a new JDialog does not show its
panel component and what should be in the panel is transparent. You see what would be underneath
the JDialog in the panel. The JDialog itself is visible.
Here are some additional details.
1) If I switch to another windows app and then back to my Java App, the contents then display correctly.
2) As a workaround, I tried repainting the JDialog after it was visible in another Thread but that did not help.
3) I have my own application tracing to confirm no threading issue involved.
4) The memory/cpu are all good. This is not a race condition.
5) There is no signs of trouble in terms of an exception being thrown. The RunTime from Java is
completely clean. No issues.
6) If I simply close the JDialog and recreate the JDialog again all is well.
7) In my code, I null the JDialog instance at the point when the user closes down the dialog.
(I thought that perhaps some kind of garbage clean up might be involved?)
I suspect a low-level devise driver type issue between the JVM and Windows.
I will see if I can reproduce this on Linux.
If anyone has ever heard of or seen any issue like this before that would be helpful.
Again, there are no signs of trouble from the Java Runtime. I believe the Runtime is unaware of
any issue. I simply do not see the contents of the dialog. Again very intermittent. Hard to reproduce.
Let me know if I you need additional details. This is just to get going on this issue.
Thanks.
David Bardwell

Here is an update as I guess this problem is very deep and I will need to come up with a
test case for a real Swing bug and file a bug with Sun.
The problem does not reproduce with JRE 1.5.0_15 on Windows in exhaustive testing.
Before I launch the dialog where I see a transparent panel, I have a database query which
is done in worker thread. I show the user a panning wait dialog which they can use to cancel
the query. It appears that this extra work of the panning dialog is important in having this issue
occur. If I simply do all the work in a single thread, I have not seen the issue reproduce. But again,
it is not always easy to get the issue to reproduce.
At this time, I suspect a threading issue (bug) which causes this issue.
Thanks for at least reading about my issue. I will update this item as I have more information so
that I can share what I learn with any interested readers.

Similar Messages

  • How to make the panel with scrollpane transparent?

    Thanks Camicker for your help, it solves the problem but i got a new problem i.e. i want to make that panel with scrollbar transparent for this i have tried setOpaqe(false) for both scrollpane and panel but it doesn't work. do u have any solution?

    I think camickr (not Camicker) already told you to set the opacity of the JScrollPane's viewport.
    Spend just a few minutes with the JScrollPane API and you'll find an exploded view showing the components that make up a scroll pane.
    db

  • Intermittent connection issues: The underlying provider failed on Open

    We are experiencing this error from Azure Compute to SQL Azure intermittently over the last couple of days (SE Asia).
    We have several applications in the same configurations and many of them exhibit this error for a period of time (some around 15 minutes).
    I checked the Azure status board and there is one warning about Networking but it is informational only. The Azure portal shows 0 failed connections on the database monitor and the connection numbers aren't massive (highest is 240).
    Is there another issue going on that's not on the status board (or is that networking issue worse than specified)?
    The application hasn't experienced this issue until the last couple of days so we don't believe it's a bug.
    Details:
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)

    Hello,
    SQL Database connection can fail for various reasons – a malformed query, network issues, and so on. Some errors are transient or intermittent. The general best practices to prevent connection-losses is to re-establish the connection and then re-execute
    the failed commands or the query. For example,  You can try to apply retry logic for SQL Server  in your application.
    Reference:
    Retry Logic for Transient Failures in Windows Azure SQL Database
    Windows Azure SQL Database Connection Management
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here.
    Fanny Liu
    TechNet Community Support

  • JLable components not being displayed in the panel of the applet

    I am having the problem with the display of the JLabel components in the Panel component of the Applet.
    The JLabel components do not appear in the Panel of the applet unless i minimize or maximize the applet.

    hello...
    i just had the same problem... it was solved by using the .updateUI() method.
    in my case several textFields were dynamically added to a jpanel, there we called the method on that panel.
    ptf.updateUI();     
    hope it works.
    ----------++-----+
    ...algun dia todos seremos luz...
    -zoe

  • Important issue. In Illustrator CC 2014 extensions don't cover all the panel at start

    I created a extension in illustrator CC 2014 (last version in spanish) that works fine until two weeks ago. It shows a image that covers all the panel.
    Now, at start it doesn't covers all the panel (only a part) and I must resize the panel for cover all the panel.
    I'm programing in eclipse and my paths in preferences are:
      Service manager root folder: C:\Program Files (x86)\Common Files\Adobe\CEP
      User-Specific Service manager root folder: C:\Users\(user)\AppData\Roaming\Adobe\CEP
      Illustrator application: C:\Program Files\Adobe\Adobe Illustrator CC 2014\Support Files\Contents\Windows\Illustrator.exe
    My system is a Windows 8.1 Pro and my version of Illustrator was updated with the Creative Cloud App 11 days ago.
    I reinstall OS in my laptop and reinstall all again but the problem is there.
    I was testing the examples in Adobe-CEP/Samples · GitHub (CEP_HTML_Test_Extension_5.0) and it's the same and until I resize the extension don't cover the entire panel.
    here is my code:
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>extension</title>
    </head>
    <body style="margin:0px;padding:0px;overflow:hidden;background-image:url('starting.jpg');backgr ound-repeat:no-repeat;background-attachment:fixed;background-position:center;">
    </body>
    </html>
    What's the problem?
    Do you have the same problem?
    Before, at start up the extension the image covered all the panel as after resizing.
    Thank you for your help. It's very urgent form me to resolve this problem.
    Here are several images:
        before resizing                                                                                                                                         after resizing.

    For the last few months, I've been having the exact same problem and it is driving me CRAZY. I finally contacted Adobe a few weeks ago regarding the issue and they had me clear out my preferences. All seemed fine for a few days... but then it came back again and seems worse now. It happened so often today I lost count. Very frustrating.

  • Hi from the last two days my iphone have very slow to open the apps and very slow when i check the notification window , it taking too much time to open when i tap to down . help me to resolve the issue.

    Hi,  from the last two days my iphone( iphone 4 with ios 5) have very slow to open the apps and very slow when i check the notification window , it taking too much time to open when i tap to down . help me to resolve the issue.

    The Basic Troubleshooting Steps are:
    Restart... Reset... Restore...
    iPhone Reset
    http://support.apple.com/kb/ht1430
    Try this First... You will Not Lose Any Data...
    Turn the Phone Off...
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear and then Disappear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...
    Turn the Phone On...
    If that does not help... See Here:
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414

  • MacBook Air intermittently has issues connecting to websites when wireless shows connected to the internet. The pages show that I am offline, but I can ping Google DNS. Windows PC, iPhone and Android phone have no issue displaying the same web pages.

    MacBook Air intermittently has issues connecting to websites when wireless shows connected to the internet. The pages show that I am offline, but I can ping Google DNS. Windows PC, iPhone and Android phone have no issue displaying the same web pages.How do I solve this issue?

    Go step by step and test.
    1. Power off the router. Unplug it from the wall. Wait a while.
        Plug it back to the wall. Power the router on. Wait until all the lights are lit properly. It will take a while.
        Restart the computer.
        Start up in Safe Mode.
        http://support.apple.com/kb/PH14204
    2. Empty Caches
        Safari > Preference > Advanced
        Checkmark the box for "Show Develop menu in menu bar".
        Develop menu will appear in the Safari menu bar.
        Click Develop and select "Empty Caches" from the dropdown.
    3. Deselect Proxies if selected.
        System Preference > Network > Advanced  > Proxies Tab
        Under "Select Protocol", uncheck any box if selected.
        Click "OK" then  "Apply”.

  • HT3226 My iphone 4s fell down on the floor and a very very small bit on the edge of my iphone were broken. Can I insert a new iphone body panel with replace the old one

    My iphone 4s fell down on the floor and a very very small bit on the edge of my iphone were broken. Can I insert a new iphone body panel with replace the old one.. ???

    I think I had it on the iCloud, I just changed computers and had part of my old computer backed up, where are the default iTunes info saved like the pictures and I know my contacts were backed up cuz I kept getting updated stuff that I wasn't sure about, but it was contacts where some belonged to my wife's contacts....but anyway, if the cloud backed up contacts, it should have grabbed pictures too? Like I asked before, if they were backed up to the computer, is there a default iTunes folder they are saved to? I had a crap load of pictures on there that I usually could really access if I was connected to wi-fi. I turned off my data stuff as I only have 4GB and between me and my 2 kids, we seemed to use up a lot of it. My son would play music from Pandora during work, and use up all our data til I limited him to only 3GB, my daughter and I barely used 1GB. Anyway, thanks to everybody that is answering. I thought I might have done good finding the dang sim card, but pointless I guess.
    Ralph - F.Y.I. I would be happy to back up the iPhone if I could turn it on LOL......I am pretty positive I did, but what about Text messages? ANY of those saved too or not? Sorry guys, I don't know a **** of a lot about cell phones, but I do know about memory cards, but not sim cards that act like memory cards or look like them anyway. What is the purpose of a sim card if I may ask a stupid question since they don't hold any data from my phone stuff. I just hope my stuff comes back on the new replacement phone once I get it up and running. Again, thanks to everybody for the edumucation.

  • Goods issue and backflush for the same component

    Hello All,
    We want to do goods issue for some components and if the complete amount of Material is not issued, we want the remaining quantity to be backflushed. Is this possible in SAP, if it is possible can any one tell me how. Thanks in Advance.

    Dear Mohan,
    In my understanding it is not possible,say in case if you have set the backflush indicator either in the material master or else in
    the production order,you cannot perform manual good's issue against that reservation number through MB1A for 261
    movement.
    But you will be able to issue the materials against the order using MB1A.Based on the order quantity at the time of confirmation
    either using CO11N/CO15 ,the system performs backflush for the component's quantity.
    I would suggest either backflush the component or else do the good's issue manually.
    Check and revert back.
    Regards
    Mangalraj.S

  • Component visibility getting delay while drop the component in the Panel

    Hi,
    In my project I have used drag and drop functionality to drop the Icon from 1st panel to 2nd panel. The 1st panel contains three buttons with different icons and the 2nd panel is added as the destination (Drop place) in the desktop pane. While drag and drop I have used a panel and label to place the icon in the 2nd panel. The icon which is available in the label visibility getting delay(nearly 5 - 10 sec) at the first time drag and drop. After that there is no time delay for the drag and drop. This happens all the time while start my project. I have tried repaint() and revalidate() for all the panels still the delay is there. Kindly suggest any idea to reduce the delay.
    Thanks in advance...

    Component visiblity getting delay while drop the component in the panel in java swing with comment "Kindly suggest any idea to reduce the delay" - A SSCCE  by @MadProgrammer

  • I recently purchased a new Mack Pro, the monitor camera is very intermittent, has anyone else had this problem?

    I recently purchased a Mac Pro (one month old) since day one I have found that when trying to use Face Time the camera is very intermittant, originally I thought it was a problem with the software, but have since realized that if I place a slight pressure on the right hand corner of the monitor, or wiggle the screen, then the camera will begin working, so has to be a poor connection...has anyone ele experienced this problem?

    Call AppleCare: 1-800-275-2273 or if the Apple store is nearby, take it there to have it checked out.
    A new Mac comes with 90 days of free tech support.
    Best.

  • To issue the component to the Production Order

    Hello All,
    I have assigned the component to the Operation of Production Order from Different plant(say 1100) of Same company code(1000).
    I want to issue that material from that plant to this plant (say 1000) of Production Order.
      So my question is the correct method of directly issuing the component to this Production Order of different plant.
    Shailendra

    Hi  HAdkar
    The correct procedure is .
    You have to assign special procurement key 80 in material master for which you want to procure from plant 1100. The material master of procuring material should exist for the plant 1100. While running MPR the procurement proposal will be automatically created in the 1100 plant. From 1100 plant you do stock transfer to your storage location. Then finally do GI for the header prod order in you plant.
    This is the procure in SAP. Eventhough both the plants exist in the same compound.
    Regards
    J . Saravan

  • A better way to determine the current state of the FLVPlayback component?

    Below is the AS3 code I have used to display images (MCs) over an instance of the FLVPlayback component.  These images (one for loading, one for the title) are to appear – or disappear – according to the current state of the FLVPlayback component. 
    It “works,” but when testing, I have noticed that it can be rather finicky.  The most common issue that arises is that many times the loadPoster movieclip will still be visible even though the video has entered the playing state.
    Also, I wanted a title placeholder image to appear whenever the user stops the video or if the video completes.  However, I had to add the conditional statement to the “stoppedStateEntered” case to make everything appear when expected.  When the video is first viewed (and has completed buffering), it seems that the FLVPlayback component enters the stopped state before entering the playing state.  Thus, the titlePoster would flash on the screen right before it and the loadPoster “should” disappear when the video begins playing.
    Even in my limited testing, these issues were very easily re-created.  I am definitely looking for a more reliable solution.  Is there a better (or more correct) way to go about all this?  If possible, I would like to stick with the FLVPlayback component, just for the simple fact of not having to code my own.
    Where am I going wrong?
    function updateMoviePoster(event:VideoEvent):void
                    switch (event.type)
                                    case "playingStateEntered":
                                                    loadPoster.visible = false;
                                                    titlePoster.visible = false;
                                    break;
                                    case "stoppedStateEntered":
                                                    if (loadPoster.visible == false)
                                                                    titlePoster.visible = true;
                                    break;
                                    case "complete":
                                                    titlePoster.visible = true;
                                    break;
    myFLVPlayback.addEventListener(VideoEvent.PLAYING_STATE_ENTERED, updateMoviePoster);
    myFLVPlayback.addEventListener(VideoEvent.STOPPED_STATE_ENTERED, updateMoviePoster);
    myFLVPlayback.addEventListener(VideoEvent.COMPLETE, updateMoviePoster);

    Any suggestions?  I would truly appreciate the help.

  • TB subscribed to far too many of my message folders. How do I keep them ( 250) out of the panel on the left?

    I am a TB newbie, and did something unintentional: while trying to add one folder to the subscription list, I
    touched some key --- and there they all go. Cannot tell what happened. The panel subscribe still shows checks for the 40 or so I wanted to display, and has done so for a few days, but the panel on the left seems now to be a few feet long. The ~/mail directory on the server has this larger number of files... I have been using alpine for some time, and it was not an issue.
    This is related to another problem: if it can be solved, the other one above would not matter: No way was found to move a message from folder to folder using the KB only; is this possible?
    Any help would be appreciated

    Thank you so much, Niel!
    Very glad to be rid of the ? marks....its a little thing, I know, but quite annoying.
    Michael

  • Very intermittent missing page regions / report rows / page item values

    My goals in making this posting are twofold:
    1. I'm looking to see if anyone else has experienced this type of issue before.
    2. I'm looking for ideas about what can be done to debug such an infrequent bug with serious implications.
    Synopsis
    I'm having a weird problem where very infrequently I will load a page and I'll notice that one or more page regions, report rows, or page item values are missing. If I reload the page the missing parts appear as they normally should.
    By "very infrequently" I would say it happens to me somewhere between 1 in 100 and 1 in 1000 page loads, of course at my last project demonstration in happened twice in 10 minutes to my demo participants. I've attempted to debug this, but most of the techniques I know of involve reloading the page or reposting the form data and (of course) everything looks fine then.
    Environment
    * This has happened on multiple different pages, under ApEx 3.1 (Linux) and 3.2 (Solaris).
    * I believe that so far I've only ever seen this under Firefox 3/3.5 under OSX, but since I do the vast majority of my development with this browser it's not reasonable to conclude that it only happens under Firefox.
    Logs
    * No application errors during this timeframe.
    * Nothing of significance in the database alerts log (just thread notes and log sequences).
    * Nothing of significance in the webserver log (just the usual mod_ossl connection errors).
    Thanks for your attention,
    Jason
    Edited by: Jason G on Jul 24, 2009 12:43 PM

    Well, thanks for reading the post anyway.
    While working through some debugging steps I realized that I was populating some of the regions as the page rendered using AJAX -- this would pause the page rendering until the AJAX request returned. I believe that a hanging AJAX call was the likely culprit of the very intermittent symptoms I was seeing.
    I moved the AJAX calls to the last region of the page and added a javascript function that "watches the page load" by checking for regions by ID and looking at javascript boolean flags to let me know when the page is fully rendered. If this process takes longer than 5 seconds it notifies the user that something happened and offers to reload the page for them in an effort to fix the issue.
    So far, so good -- but it will take a lot of testing to convince me that this case is solved. I hope my documenting this is helpful for others in similar situations.
    Good luck,
    Jason

Maybe you are looking for

  • Win 8.1 Upgrade on Yoga 13...My Experience

    I have difficulty waiting for the "official" Microsoft release of the 8.1 upgrade on Oct 18 so I decided to use my official Technet 8.1 ISO to do the job now.  The process was even easier than I imagined but I did have to tweak a few things after the

  • Double click not working on Mountain Lion

    I have a 15-inch, Late 2011 MacBook Pro. OS 10.8.1. Few days ago, the double click (only the double click) stopped working. I have to tap REALLY HARD the trackpad to double click. How the soft tap double click again? I looked into the system preferen

  • Adobe Generator: yes! but do not crop my canvas size (option)

    Adobe Generator= Is not there an option where I can maintain original canvas size position? ? I mean: I love that the generator slices and exports each individual layer element into a single file .. thats good BUT.. but I do not want that the auto-cr

  • Type cast function use

    Good morning, I am using the "type cast" function and the "visa write" subvi to control a DO channel of Arduino (RS232 communication), please see image attached. Can somebody advise how should I program in LabVIEW in order to control more DO channels

  • GNU screen, spawn windows and issue specific command to each

    Hello folks. I want gnu screen to spawn some windows, let's say, so I've put these lines in .screenrc: screen -t foo screen -t bar now I'd like to change the directories for foo and bar. I've tried multiple commands like: screen -X at foo screen -X s