Components vanishing when focus brought back

Am seeing this behaviour in my swing Application. I have a Jtree component and a JTabbedPane which shows up when I select a JTree node. The panel displays well first time and then I bring over some other running application (say a browser) on top. On regaining the focus on the Swing app, my JTabbedPane vanishes from the view. I have to reselect the tree node to get back the view. Why is this happening?
Some paint issues I am unaware of?
Thanks

Arghhhhh ... my bad ... had stupidly forgotten to properly remove components before adding new ones. Was calling revalidate on the Panel which contained the TabbedPane after removing older components and adding new ones.
Anyway ... Thanks izrailov for attempting to look up. Ya code would have been helpful ... will make sure to have some snippets in future ...
Coolios Thanks!

Similar Messages

  • Components vanish when placed on a layer below an imported Symbol

    AS2 Components vanish  or get severely corrupted when placed on a layer below an Imported  symbol.
    Very easy to reporduce:
    Flash CS4 create a new AS2 FLA  called Share.fla
    Create an  empty MovieClip symbol in the library and set its properties to export for  runtime sharing URL: "Share.swf".
    Build.
    Now create another  new AS2 FLA in same folder called TestShare.fla.
    Create an empty  MovieClip symbol in the library and set it's properties to "Import for runtime  sharing" URL: "Share.swf".
    Drop an instance of  this empty symbol in frame 1 layer 1.
    Create a second  layer and drop an instance of any Component from the components  panel for example the Button component.
    Build.
    The component appears as a blank square block.
    If you add a trace statement to the components constructor you'll see it is never called.
    Now swap the layers,  drag layer 2 above layer 1 and build again.
    Now the component  shows just fine.
    You might say so just swap the layers and carry on but this is simplified example to demonstrate the problem, in practice I have many shared libraries containing many component and many apps with many layers and I've been shuffling the layers for what seems like an eternity and found that there is no order that will work for everything. If anyone can explain this behaviour or suggest a permanent work around I would be very grateful.

    Thought I would attach the source so just unzip and build TestShare.fla you'll see the Button component, then swap layers 1 and 2 and rebuild and you will see just an empty Button frame. Would love to find an answer to this.

  • We are using SAP SRM to punch out external catalogs. Firefox version 3.5 and below works fine and the items from the catalogs are brought back to SRM .But when we use version 3.6.12 the items are not getting transferred back to SRM from the Catalogs.

    SRM is a procurement system from SAP which we use to purchase goods and service. We have external catalogs like officemax, cdw etc which we punchout the items and bring it to SRM for ordering.
    When we use firefox version 3.5 and below the items which we add from the Catalogs are correctly brought back to SRM for us to order. But when we use versions 3.6.12 the items are not brought back to SRM.
    Internet Explorer 7 and 8 works fine. Is there anyway you can help us.
    Thanks
    Jayant

    Hi,
    Firstly I would suggest you to upgrade your database from Oracle Release 11.2.0.1.0 to Oracle Release 11.2.0.2 . This is the recommended Oracle 11g database version  for SAP solutions. Many of your problem will get resolved with it.
    Question 1:
    So my first question would be is there any other suggestions besides adjusting the mentioned parameter above in order to ensure that no work processors going into hang state due to RFCs' occupying it as this issue always happens at the end of the month only when there are massive users accessing it.
    For immediate resolution the approach you have followed is correct viz limiting number of dialog processes for RFC. Secondly you need to analyze why RFC processing takes so much time. You need check which programs are getting executed by those RFC.
    Generate EarlyWatch report for more detailed view
    Question 2:
    My second question is what went wrong with the libttsh11.so file. How could it be 0 size in PRD when no signs of changes had happen to the PRD system. Is this a proven Oracle Bug or something else since I have never encountered anything like this before.
    The libttsh11.so library cannot be found in the related directory.
    Cause
    The file system is mounted using CIO option, but per Note 257338.1 Direct I/O (DIO) and Concurrent I/O (CIO) on AIX 5L, an ORACLE_HOME on a filesystem mounted with "cio" option is not supported.
    Such a configuration will cause, installation, relinking and other unexpected problems.
    Solution
    Disable the CIO option on the filesystem.
    References
    NOTE:257338.1 - Direct I/O (DIO) and Concurrent I/O (CIO) on AIX 5L
    Hope this helps.
    Regards,
    Deepak Kori

  • Yesterday, when I brought my laptop back from sleep, I tried to check my e-mail with the Mail app like I always do. But there was the lightning bolt sign next to the inbox, and the pop-up asked me to input my password, which didn't work. It says mail.mac.

    Yesterday, when I brought my laptop back from sleep, I tried to check my e-mail with the Mail app like I always do. But there was the lightning bolt sign next to the inbox, and the pop-up asked me to input my password, which didn't work. It says mail.mac.com has rejected my password. The password is correct (I'm able to check my e-mail through my browser at me.com), but for some reason Mail keeps on rejecting it. I usually don't have to input my password at all in Mail. Any clue how to fix this? I haven't changed anything at all on my laptop.

    I did change my apple ID password though...

  • I've signed up for MobileMe but when I sign in again to find my iPad I'm brought back to the setup screen and I can't get this this to get around Setup!  Help!!

    This group screen is infuriating.  Why do I have to post my question twice?!?!
    I registered for MobileMe, but when I go to www.me.com I'm brought back to the setup screen and I can't get past it.  How do I get to the site that allows me to find my iPad?

    How do I get to the site that allows me to find my iPad?
    You go to http://me.com/find/ on your computer.
    On your iPad, you use the free Find my iPhone app from the AppStore.

  • TS1363 My father in law decided to clean up my computer and accidently wiped off something important(dont know what).He then took it away and said he would get it fixed.When he brought it back he said that everything was back on  but I needed to install i

    My father in law decided to clean up my computer and accidently wiped off something important(dont know what).He then took it away and said he would get it fixed.When he brought it back he said that everything was back on  but I needed to install itunes,Ive installed the latest version and the quicktime.
    It seemed to have worked ok and all of my songs are there but when you try to play them, they just dont play.
    Ive tried putting a cd in and that wont read or play.
    Ive gone on to the itunes store and tried playing a song there,when I click on the play button the blue circle activates but just continues in a clockwise rotation but doesn't play.
    I have a old ipod,my wife and I have iphone 5s and a ipad mini.
    I am affraid to plug them back into my computer until I sort the problem out.(they had been plugged in before this happened and worked fine.
    HELP PLEASE
    Scott Hodson

    Do you memeber the complete wording of the error message?
    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iPod fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar

  • Two Macbook pros circa 2009 in our temporary household in Turkey suddenly failed to boot and got stuck on the grey screen. They were able to boot at the Apple store, but not when we brought them back to our apartment. Could this be a coincidence?   A

    Two Macbook pros circa 2009 in our temporary household in Turkey suddenly failed to boot and got stuck on the grey screen. They were able to boot at the Apple store, but not when we brought them back to our apartment. Could this be a coincidence?   A

    THank you Ogelthorpe. When my wife's computer I went on line to the site that you sent and tried everything But nothing worked. When my son came to visit and his MacBook Pro did exactly the same thing we became suspicious - too much of a coincidence. We took both computers somewhere else, out of our apartment, and they both booted. We ran disk utility on both, but the report in both cases was that there are no issues with the hard drive.  Back in our apartment neither will boot up. My MacBook Pro is a later model with a solid state drive and it seems to work fine here.. I tried an external drive and it works fine. We think that this has something to do with some kind of magnetic interference in our apartment to which the 2009  drives are susceptible.  It is indeed a mystery!
    alf

  • When my iPhone updated it brought back all my old voice mails 3200 of them . It won,t let me delete them

    When I updated my iPhone 4 it brought back all my old voice mails 3200 of them. It won,t let me delete the any ideas?

    With ios 7 there is a new feature that shows you all the music you purchased with your apple id.  You can disable this by going to settings/music/show all-off.  Also this helps with saving data usage if you do not have unlimited data. 

  • I have a 2006 imac i just brought back from the dead when i try to install snow leopard it says i can't on this computer why not

    i have a 2006 imac i just brought back from the dead when i try to install snow leopard it says i can't on this computer why not

    There is your problem. DVDs that ship with a Mac are machine specific. You will need to purchase a retail copy of the DVD $29.
    Stedman

  • Firefox crashed when I brought it back all Toolbars were gone, how do I recover them?

    FireFox crashed, When I brought it back up my toolbars were gone. How do I get them back? they are not under history either. Should I try reloading Firefox. This is the first problem I have had with this browser.

    First, lets work on the crash. Loading back your profile may result
    in wasting time if it crashed again.
    Look on your desktop. Is there a folder called''' Old Firefox?'''
    In the address bar, type '''about:crashes'''<enter>.''' Note:''' If any reports do not
    have '''BP''' in front of the numbers, click it and select '''Submit'''.
    Using your mouse, '''mark''' the most '''resent 7 - 10''' crash reports, and
    '''copy''' them. Now go to the reply box below and '''paste''' them in.

  • What event fires when form focus comes back to calling form

    Hi,
    I need to capture the event when form focus comes back to calling form.
    I am using KFF in my custom form and want to perform a set activities when users presses "Cancel" button of KFF instead of "OK" button.
    I guess KFF screen is an another form which is being called from my custom form.
    Regards,
    Kuldeep

    I posted my question here and got answer
    Re: Event to capture when form focus comes back to calling form
    Edited by: rawat75 on Feb 6, 2013 12:54 AM

  • FCPX 10.1.3 Project vanishes when a new project is created in the same event

    I've been working on avery complicated project all day with multiple layered clips with key frame animations, colour effects etc. All was fine until I opened a new project in the same event which I was going to use to create some effects sequences for the main project. When I went back to the original project it was empty. Tried the Undo function in case I had done anything stupid but it was greyed out. Went to the FCPX backups and the last file was almost 2 hours old but did not have any sign of this project. The only thing I have left is all the imported media.
    Any ideas? Using FCPX 10.1.3. This is really annoying as all I have left is an h264 file of the almost complete project and it will be almost impossible to start from scratch.
    Thanks for your attention

    The edited project was 60 seconds making up an intricate title sequence involving 24 video segments and 48 png/ PSD files.  Had a brain storm and was wondering if there is anyway the the project could move to another event so currently going through all the event folders on my FCPX edit drive. I just can't see how a project can just vanish.
    Thanks for your suggestion.

  • I have copied my iTunes library onto a new computer, but when I play back the songs there seems to be random "miss" or "drop out".  No probs with old computer, just the new one.  I'm onto my third new computer - same problem.  Any suggestions please?

    I have copied my iTunes library onto a new computer, but when I play back the songs using the new computer, there seems to be random "miss" or "drop out" during play back, similar to a small scratch on a vinyl record.  Although when I play the same song over again, the "miss" occurs in a different location during the song.  No probs with old computer, just the new one.  I'm onto my third new computer - same problem.  Any suggestions please?

    You don't say which version of iTunes you are using, but the symptoms you describe have been encountered by some users with the 64-bit version of iTunes 12.1.
    There is an alternative version for 64-bit editions of Windows here:
    iTunes 12.1 for Windows (64-bit — for older video cards)
    that seems to address the most of the playback issues that some users have been reporting with the full 64-bit version of 12.1.0.77 - including problems with Bluetooth speakers where either sound is degraded or completely absent.  The alternative installer here is the same architecture as most previous "64-bit" versions of iTunes, i.e., a 32-bit application with a 64-bit installer.  The "for older video cards" label appears to be something of a misnomer as some people have reported that this corrects problems found on current / high-spec systems.
    Some users have reported that after installing this alternative version it is necessary to adjust the "Play audio using" selection (normally to "Direct Sound" rather than "Windows Audio Session", though this may vary based on your audio hardware/drivers) in Edit > Preferences > Playback to restore glitch-free audio (one part of the reported symptoms is that the "Direct Sound" choice isn't available, usually in Windows 8).  It may also be necessary to ensure that your Bluetooth speakers are active and selected as the default audio device before you run iTunes.
    If this doesn't address the issue, you may want to think about reverting to iTunes 12.0 - see Turingtest2's notes on Troubleshooting issues with iTunes for Windows updates for steps needed to completely remove all installed iTunes components, and for links to the 12.0 installers.

  • Having troble using CS5 photoshop free trial download, it wants a serial# when I go back to try & us

    having troble using CS5 photoshop free trial download, it wants a serial# when I go back to try & use it. I
    never saw a serial# for the trial download. I also copied it onto my thumbdrive so I can use it in my photoshop class.
    Do I delete orignanal download-start over again?- or what?

    I also copied it onto my thumbdrive
    That's grade A stupid. No current Adobe app will function other than on its original install location due to the many auxilairay components and of course the licensing system being required. If it asks you dfor a serial from there or even refuses to launch, you realyl mustn't wonder. if it was installed properly on a internal drive and still triggers the warning, you may have another Adobe product interfering and you may need to reset the licensing database and all that. Read here for some collected links.
    Mylenium

  • TS3694 Error message when attempting to back up iPod to iTunes, no number given. No previous back ups as a new user, current iTunes software and iPod iOS.

    Error message when attempting to back up iPod to iTunes, no number given. No previous back ups as a new user, current iTunes software and iPod iOS.

    The issue you are experiencing is with installing the latest iTunes update.  I recommend following the steps below:
    Resolution
    Follow these steps to resolve the issue:
    Check for .dll files
    Go to C:\Program Files (x86)\iTunes and C:\Program Files\iTunes and look for .dll files.
    If you find QTMovie.DLL, or any other .dll files, move them to the desktop.
    Reboot your computer.
    Note: Depending on your operating system, you may only have one of the listed paths.
    Uninstall and reinstall iTunes
    Uninstall iTunes and all of its related components.
    Reboot your computer. If you can't uninstall a piece of Apple software, try using the Microsoft Program Install and Uninstall Utility.
    Re-download and reinstall iTunes 11.1.4.
    I understand that you have already uninstalled iTunes, but when you get to this step, it is important to uninstall iTunes and the related components in the order listed in the link for that step. 

Maybe you are looking for

  • Convert Data to XML File

    Hi all I want a sample procedure in which i would to like to fetch data and save the output to a XML File. Someone please help me in giving me the sample procedure. Regds Nirmal

  • Vendor selection according to Document Type

    Hi Expert, My Client wants that if he punches the service order then the vendor code selected should be SV001 and if he/she selected the item level vendor i.e. V0001 in the service PO then document should not be added. I created the seperate vendor c

  • Permissions issues after diskswap/fresh OS

    good morning, yesterday, i removed my existing OS disk and replaced it with a new disk, and performed 10.7.5 install via the internet. i attempted to use time machine to recover my files from my old system to my new, but all the files have a @ permis

  • Foreign data incomeplete

    hai everybody while i m posting my invoice to accounts to generate a accounting doc it is showing the error "Document 90000004 has been saved (foreign trade data incomplete)" i m unable to post this document to accounts please help me out thank you

  • Smartforms-page nos

    Hi, I am working with smartforms.How can I see the second page in print view.I am getting only 1 of 1.I need 1 of 2 and 2 of 2.I kept in main window command node->goto->second page.But I can not see main window in first page. Thanks rahul