Still no solution

I have a frame that appears when called, but I want the program code not to continue until the frame that appears is deactivated. Here is the code that I have people have given me several solutions all to no avail.
public void ProcessEntry()
final viewMemRecordsFrame memframe = new viewMemRecordsFrame(ff);
memframe.show();
memframe.setLocation(80, 80);
memframe.addWindowListener(new WindowAdapter()
public void windowDeactivated(WindowEvent e)
acctnumber = -1;
memframe.dispose();
public void windowActivated(WindowEvent e)
I want the frame to show here before the code continues. I have tried putting a test System.out.println("TEST " + i ) . 'i' is wrapped in a for loop just to test if the frame shows before the program continues. For some reason even though the memframe.show() command is executed the memframe is not shown completely.(Just a grey background). If I run the program with out the following try{ } statement the frame does show. I do not understand why. Why does the frame not show right after the command is executed?
Object waitObject = new Object();
while(memframe.isVisible())
try
synchronized(waitObject) {waitObject.wait(200);} // or synchronized(Thread) {Thread.sleept(200);}
catch(InterruptedException ie)
code continues on til the end of this method. Note, that the code will continue on if I take the while-loop out with the waiitObject or Thread.sleep(200) (both do not work for what I am trying to do ) and after it is executed then the memframe appears it I take out the memframe.dispose() statement in the WindowListener. Why does it not appear right after I execute memframe.show() in this method?

As I've told you twice, this is almost certainly a problem of your ProcessEntry method being called from the dispatcher thread (though you don't show the code that calls it, the symptoms you describe are characteristic).
Meanwhile your wait stuff is getting even further from what it should be. wait must be paired with notify on the same object or it will wait forever.

Similar Messages

  • I forgot my security answers and i have provided rescue email same as apple id its been 6 monts and still no solution found i have credits in my account please help

    i forgot my security answers and i have provided rescue email same as apple id its been 6 monts and still no solution found i have credits in my account please help

    Well, of course a rescue address which is the same as the main address (which doesn't work) isn't a lot of use.
    Please see Kappy's comprehensive User Tip:
    https://discussions.apple.com/docs/DOC-4551

  • I have paid full membership 3 days ago but when i tried to open AI, PS and ID it still prompt me to enter serial no. I have talked to like 3 different customer service but still no solution and they kept asking me to wait. Someone told me to alter the hos

    I have paid full membership 3 days ago but when i tried to open AI, PS and ID it still prompt me to enter serial no. I have talked to like 3 different customer service but still no solution and they kept asking me to wait. Someone told me to alter the hosts file from the forum but I don't see any hosts file from adobe, how do i alter the hosts file then? Why should I pay so much just for this kind of service? Please someone help.

    I will tell you honestly. I have tried almost everything to fix the issues. I even tried to call Adobe Technical Support so I can fix the activation issue but no answer after waiting for about an hour on the line. I ask the chat but they just kept saying wait for another 24 hrs it should be updated now it has been about 4 days and no changes. I am extremely frustrated to cause I need to work on my computer. So where can I get help? they prompt me to here btw, many many times.

  • TS1559 still no solution for greyed out wifi and bluetooth - what to do? been messing around with it for weeks and now discover I'm just outside of warranty period? WHAT?

    I am in such a predicament - phone not been quite right since the 6.1 update and I was tolerating the inconvenience of switching off and on etc etc for the past couple of months and now the wifi and bluetooth are totally greyed out all the time - did every restore possible including back to factory settings - still no luck - please don't tell me that trying all the solutions over the past 2 months that temporarily worked for a few days at a time will now mean I have timed myself out of the 1 year warranty? arghhhhh (I can't believe that such an issue will create the response 'oh well, your problem - best just buy another one' ???)
    I can't just drop everything and drive to the apple store and wait for hours every time there's a 'glitch' otherwise I may as well move nextdoor to the mall. They tell you to try and solve it yourself first - which I did - and now it's not responding to anything I try, will I be told - 'too late, out of warranty'???
    I see theres an update for the iphone 5 that fixes wifi bugs - what about us 4s owners? even my 3 year old 3gs is still working on wifi (haven't dared to update it!) so don't start telling me to expect that the iphone will only last 13 months - NOT AT $600 a piece
    This is madness and driving me crazy
    Please has anyone had any luck fixing this problem???

    well, you know how it is - glitches that usually resolve with a hard reset etc
    then a restore. then a factory restore....then ..... nothing fixes so I try the next step with apple online - fill out my serial number and find it is a couple of weeks out of date - and then with the holidays who has time to get to the apple store? this is my second 4s handset as it is - first one the glass cracked from L to R without any impact/damage etc - they changed it out automatically because it's a 'known fault' apparently - so technically, this handset is only 6 months old - but warranty is from original purchase date -
    never imagined it would turn out to be a warranty issue with the phone - and hey maybe when I get a chance to go to the apple store they'll be sympathetic, but I won't be able to get there till at least Jan 4th as it is. On the other hand, another iOS update might resolve the issue - but how long till that release? at the moment I'm having to use my old 3gs for wifi and 4s for phone!!!

  • Premiere Pro CC crashes on startup! (Still no solution!)

    Whenever I open Premiere Pro CC Trial, it says "Premiere Pro CC has stopped working"
    I looked around the internet and found a solution that was working for many people, to download the latest AMD drive. So I went and downloaded the AMD 14.4 drive, and the program still crashes on startup.
    I've also tried running as administrator, logging out and in, and making the program compatible with Windows 7, in the properties, the same problem occurs each time.
    How do I fix this problem?
    What version of Premiere Pro? Include the minor version number (e.g., Premiere Pro CS5.5 with the 5.5.2 update).
    I don't know because I can't open it, I downloaded it on May 22nd, and it says up to date in CC.
    Have you installed the recent updates? (If not, you should. They fix a lot of problems.)
    In CC it says up to date.
    What operating system? This should include specific minor version numbers, like "Mac OSX v10.6.8"---not just "Mac".
    Windows 7 Home Premium 64-bit
    What kind(s) of source footage? When telling about your source footage, tell us about the codecs, not just the container types. For example, "H.264 in a .mov container", not just "QuickTime".
    The footage I am attempting to edit is a .avi clip from Fraps, but that doesn't matter.
    If you are getting error message(s), what is the full text of the error message(s)?
    I'm not getting any messages from Adobe, but from Windows; "Adobe Premiere Pro CC has stopped working" and "Windows is checking for a solution to the problem"
    What were you doing when the problem occurred?
    Nothing at all, no windows open.
    Has this ever worked before?
    I have not had it before.
    What other software are you running?
    None.
    Do you have any third-party effects or codecs installed?
    No
    Tell us about your computer hardware. Be especially certain to tell us about third-party I/O hardware (e.g., AJA, Matrox, Blackmagic, MOTU).
    Model: Alienware M14XR2Processor: Intel(R) Core (TM) i7-3630QM CPU@ 2.40 GHz 2.40 GHz, Memory/RAM: 8 GB, 7.88 GB usableSystem: 64-bit operating system, Windows 7 Home Premium
    Are you using Mercury Playback Engine GPU Acceleration?
    Probably not.
    Does the problem only happen with your final output, with previews, or both?
    I can't open the program.

    http://helpx.adobe.com/photoshop/kb/cc-applications-crash-immediately-launch.html

  • Download error -228, tryed all methods still no solution except .xpi manual install, please help!

    Hi,
    Until last year i could normally d\load and install addons. Then i did an update to firefox 3 and it became impossible to update those installed addons or to d\load new ones.
    I've followed all the advice here: http://support.mozilla.com/en-US/kb/Unable%20to%20install%20add-ons without any result even made a totally clean install of firefox. Still not able to install any plugin or theme, getting the message: "Firefox could not install the file at
    https://addons.mozilla.org/firefox/downloads/latest/722/addon-722-latest.xpi?src=addondetail
    because: Download error
    -228"
    I can go to the developers site to download the .xpi file and do a manual installation, but this has to be done for every addon and every theme, and every time i need to update those, so it's a pain in the back side.
    Is there a solution to this problem?
    Thanks

    Sometimes you only disable the user interface of security software, but the firewall services are still running in the background. So make sure that you give Firefox full access in the firewall.

  • Still no solution to times not showing on left side of iCal

    I still have not gotten a solution to why the hourly times (eg 8 a.m.) do not show in the left column of iCal in both the daily and weekly views. Only Noon shows in the column under the year header.
    If I print a calendar for one of those views, the times DO show on the printed page as expected.
    The problem showed up on this machine after the 10.4.x upgrade, but dates show on another machine on the same home network running 10.4.
    I have removed the iCal prefs as suggested in a previous post, but that had no effect. I have adjusted my prefs to the day range and hours to show at a time and there were no changes. My pref setting are the same as the other computer that shows times.
    Is this a font conflict? The date on the iCal icon shows misaligned when it is open which I know was a font conflict.
    G4 733 Quicksilver   Mac OS X (10.4.8)   1.12 GB ram

    I'm having the same problem. No news on how to fix this ?
    GD

  • Oneway voice issue problem detected still no solution

    Hi,
    I'm using cisco3825 as a voice gateway with concerto dialer software for outbound dialing for a call center.Agents are facing voice problems :like they can hear the customer but customer can't hear them.But it's not for all the agents at a time.
    I tried out and found some logic.Dsp resources which are using g711ulaw tx is 0, so voice no transmit.However no issue with g729r8 codecs
    Attaching my voice cofig and output.
    Is there any way only g729 codec use no g711 ???I'v tried several options but still not found any solution.
    Regards,
    Sourav

    Hi Sourav,
    Are you using CCM or CCME? Or other Switch?
    Which IOS you are using?
    So when you only use G711 you experience this problem?
    Let me know so we can narrow down the issue.

  • Still no solution to iPhone 5 Wifi....

    Good Day,
    I purchased my iPhone 5 back in January.  I got it home, and immediately connected it to my Wi-Fi with no issues.  A few minutes later, I then received the push notification about the software update to 6.0.2 that was designed to correct Wi-Fi issues (I hadn't had any issues anyway, but did the update OTA via the Wi-Fi).  It updated fine, and nothing was wrong.  Mind you- I brought this home already in a case, and noticed no issues whatsoever. 
    About 2 weeks later, I woke up one morning and noticed that my connectivity was extremely slow, in an area of the home where it previously had not been (and in all other places at home for that matter).  I attempted to isolate sources of interference, and eliminate them- that didn't help.  I did notice somewhat better reception when I removed the case, but not much.  Also, I was noticing that the Wi-Fi wasn't connecting as quickly when I returned home from being out and it defaulting to LTE, it also would drop the Wi-Fi from time to time and default to LTE when I was home.
    I called Apple and have an open case with them.  The troubleshooting steps we took were:
    1) Reset Network Settings
    2) Forget/Re-join Network
    3) Restore the phone (incidentally this happened the day 6.1 was released, so the update took place during this process as well).
    The problem appeared to be fixed, but I was fooled as the Wi-Fi would connect, and be OK for about 5 minutes, then slow to a crawl again.  It's affecting push notifications for mail, and also MMS/iMessages.
    I got in touch with Netgear (the router manufacturer), as they have a support alert on their webpage that there are widespread Wi-Fi issues with iOS6, and that they are trying to come up with a workaround.  After a few emails back and forth, making some pretty technical adjustments to the router settings, it still really didn't help.
    I am now on update 6.1.2 (released yesterday), and I still have the Wi-Fi problem.   Apple has said I'm eligible to replace the phone, but I really don't think that will help, since it was widely accepted/reported by them that this was an iOS issue in the first place (although they seem to have completely stifled that discussion now), and other users that have replaced their devices are still having the issue.
    Is Verizon addressing this issue with Apple at all?  And what are they going to be doing about it?  I have friends that have the device on AT&T, and have the exact same issue with their Wi-Fi.
    Fortunately, I have not seen a data usage leak, but I understand this was also a problem earlier with the device and iOS6.  I'd better not see that happen...
    Thanks

    Hi,
    I experienced the same issues. I'm on my 3rd iPhone 5. My data did not leak out; it gushed out.  My first two bills were ridiculous.
    VZW technical support walked me though updating my second iPhone. This update would allegedly fix the problem. I explained that I didn't purposely use the high amount of data attributed to my account. I was told then that the data had been "used."  They again acknowledged the problem, but stated it was related to the iPhone. When I said that I would take it up with Apple, I was told that Apple could not do anything. Simply put, VZW doesn't really care. I bumped my data plan up and up to compensate. Yet, I exceeded the usage of the highest plan! My previous usage was significantly lower. When the iPhone 5s arrives, I will terminate my contracts (Yes, I have two iPhones.) and switch to Sprint. It won't compensate me for the issue, but I'd be stupid to keep paying someone, who willfully takes advantage of me.
    Simply, know that you are not alone.
    Cheers.

  • Still no solution (more than 6 weeks) for my CC desktop App problem - get really frustrated

    still got the message, I have a download error when I jump to the app section of the cc desktop app

    what error?

  • We Posted This Six (6) Days Ago and Still No Solution That Works!

    I posted the following 6 days ago and now I see that many others have the same problem.
    I have read and tried most all solutions posted WITHOUT success. I have used Reader for many years
    without a single problem until now. I read somewhere on this forum that Microsoft bought Adobe a while
    back...if this is true...I have my answer. If this is true that Microsoft bought Adobe a while back...we will
    probably get a solution when one is available from Microsoft...but we will probably have to pay for it.
    I am not trying to be nasty...only realistic.
    Here is my problem:
    I am trying to install Adobe Reader 9.2 update.
    When I try the install I get the following error:
    "Update  Failed...cannot install the update. Please run Adobe Reader Repair".
    I then run the Adobe Reader Repair and get the following ERROR.
    "Error 1402 Could not open key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\OpitionalCompo; nents\MSFS.
    Verify that you have sufficient access to that key, or  contact your support personnel"
    I am logged in as the  administrator on my computer.
    I have searched the Internet for  instructions but none has helped me correct my above problem.
    Here are my computer specs:
    Windows XP
    Version 5.1  (Build 2600.xpsp_sp3_gdr.091208-2036 : Service Pack 3)
    Physical  memory available to Windows:  1,046,620 kb
    I use Mozilla  Firefox Browser version 3.6..as my broswer.
    I also have  installed on my computer Internet Explorer version: 7.0.5730.13
    Cipher Strength: 128-bit.

    You say and I quote, "You have been given an answer to your original post, which you have  chosen to ignore."
    This is totally incorrect. I followed the suggestion very carefully BUT it did not work. Plus I have tried all other suggestion
    that I thought would correct my problem that I have read on this forum... and they did not work.
    Plus you say that "I was given an answer to my post" which I am thankful for...but I am NOT
    looking for an "answer" I am looking for a SOLUTION to the problem. I believe that as a loyal Adobe customer we all
    deserve a comprehensive solution and not the type of insinuations that you seem to infer. Shame on you!

  • Still no solution for iFrame scrolling

    Hi,
    I really need to let iPad users scroll into an iFrame.
    Despite what is said, this does not work.
    Using two fingers doesn't scroll anything.
    My website has an embedded WordPress blog, that's why it uses an iFrame.
    Even if you an object instaed of an iFrame and even if you add the
    -webkit-overflow-scrolling:touch
    and the
    overflow:auto
    tags, it doesn't work.
    It looks like it's supposed to secure browsing, since the iFrame will embed
    an external site (that's my case).
    But still, this means iPad users won't be able to read blogs. I think that this
    is not serious.
    I have tried the iScroll 4 library but still, either it doesn't work or it does but
    the iFrame content is not refreshed and shows a blank content instead.
    Did anyone here achieve embedding a WordPress blog into a scrollable iFrame?
    Thanks to let me know how.
    Steve

    User csdco (https://github.com/fancyapps/fancyBox/issues/2#issuecomment-5997068) has provided a simple answer that solved the issue for me.
    It's much easier to control overflowed divs than it is iframes, and the scrolling + blank content issues are working all the way back to iOS 4, where previously I wasn't even able to get the 2 finger scrolling to work (in iframes).
    It goes something like this:
    <iframe id="stupid-iframe" width="600" height="200" src="a-file.html"></iframe>
    a-file.html:
    <html>
    <body>
    <div id="wrapper" style="width: 100%; height: 100%; overflow: auto; -webkit-overflow-scrolling: touch;">
    </div>
    </body>
    </html>

  • Still no solution against choppy animations?

    Hello,
    since Leopard came out, I am experiencing choppy dock and expose animations. Somewhere I found a solution which seems to work, its a terminal command.
    sudo defaults write /Library/Preferences/com.apple.windowserver Compositor -dict deferredUpdates 1
    However it lags now as soon as I utilize my computer, even when I copy files. That bugs me, so I reinstalled MacOS (Couldnt find a way to undo that command, putting the variable to 0 didn't help). So now I have these annoying choppy windows again.
    When is Apple finally going to fix this? I'm about to sell my MacBook Pro to get a Air eventually if this is not fixed soon, this bugs me really bad.
    Bye,
    Luka

    I tried running that command, but when it asks me to input my password, my keys don't do anything/ It just won't let me type anything when it comes time to enter it.

  • Some of the keys on my keyboard do not work.  I've run through the trouble shooting tips and still no solution.

    Wireless keyboard - Not all Keys work.  For example: the top F1 through F12 and the right side shift key do not work. 
    Any thoughts?
    Thank you in advance. 

    Fast answers:
    1. Try resetting NVRAM/PRAM and SMC. Doesn't usually 'cure' keyboard problems you report, but it costs nothing and only takes a few minutes.
    https://discussions.apple.com/thread/3819550?start=0&tstart=0
    2. Try plugging in a USB keyboard. Doesn't absolutely have to be a Mac keyboard. A PC keyboard will work for a test. If the typing problem does not occur with the USB keyboard, you have a temporary solution until you can arrange to visit a repair facility.
    3. If your MacBook is older and has a user-removable battery, shut down the computer, remove the battery, and examine it for signs of 'bulging' or swelling. Then connect the computer to the Magsafe power supply, without reinstalling the battery, and turn it back on. If the keyboard problem has gone away, it was likely caused by a swelling battery.

  • Firefox suddenly stopped opening webpages, while other browser work properly. I checked Proxy settings and everything that is mentioned in the central help page, but still no solution found...

    In addition, i tried to re-install Firefox many times, without a result. In the time these lines are written, I am using Google Chrome to surf the web.
    Neither proxy settings, nor the true/false ipV6 values helped.
    The '''"symptoms"''' are as following:
    --> The programm itself starts correctly, at usual speed, with no crashes or error messages to pop-up.
    --> No page is displayed, neither the home page, nor any other one. I only see a blank white page.
    -->The name of the starting tab, as of any other new tab I try to open is "(Untitled)"
    -->There is no probability of errors in the Internet Line, because I am using it right now, running Chrome.
    -->The full scan results are totally clean, using Panda Internet Security 2011, activated and updated.
    -->The Error Console shows the following messages:
    Could not read chrome manifest file 'C:\Program Files\Mozilla Firefox\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}\chrome.manifest'.
    Warning: XUL box for _moz_generated_content_after element contained an inline #text child, forcing all its children to be wrapped in a block.
    Source File: chrome://browser/content/browser.xul
    Line: 0
    Warning: WARN addons.updates: HTTP Request failed for an unknown reason
    Source File: resource://gre/modules/AddonUpdateChecker.jsm
    Line: 503
    Warning: WARN addons.repository: Search failed when repopulating cache
    Source File: resource://gre/modules/AddonRepository.jsm
    Line: 573
    Error: Livemark Service: feed processor received an invalid channel for http://fxfeeds.mozilla.com/en-US/firefox/headlines.xml
    Source File: resource://gre/components/nsLivemarkService.js
    Line: 635
    Error: Livemark Service: feed processor received an invalid channel for http://www.dent.uoa.gr/data/feeds/announcements_atom.rss
    Source File: resource://gre/components/nsLivemarkService.js
    Line: 635.
    These Error messages appear in the Error Console of the just now downloaded Firefox 4.0. In the previous version, 3.6.12, before removing it, I noticed two more error messages in the error console, like the two last as listed above: With the nema ERROR.
    I am forced now to use Chrome, and I dislike that!
    Some could suspect that Google has sabbotaged firefox to get its popularity by forcing users to change browsing programms by giving them a hidden worm..?? :P
    Please, help me out anyone with good will and strong tech-knowledge.
    Tasos!

    Create a new profile as a test to check if your current profile is causing the problems.
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting&#58; Make a new profile]]
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

Maybe you are looking for

  • How to Remove WebEx Connect domain

    Hi all, A customer of ours used to have a WebEx Connect subscription which is currently expired. They are now deploying Collaboration Edge with on-prem IM&P services (CUCM IM&P) but Jabber still discovers their domain to be handled by WebEx Connect.

  • Report in same window

    i am running a report from my Oracle 9i Application( Developer Suite 9i). I am calling the report from the form. The report which has to open in a new IE browser window is not opening which was happening about 3 days back. The applet instance blinks

  • SOE on Global Localization

    Hi All, I have finalized the SOE report setup on the global localization (for Oman legislation), but I face the following error message: *"function not available to this responsibilty. change responsibilty or contact your system administrator."* Can

  • Sound Settings won't Stick

    Have a new Mac Pro. Changed sound setting (output) to line out for speakers. Every time i boot it goes back to the internal speakers. Never had this issue on previous Mac Pro. Running Snow Leopard. Any thoughts?

  • Lenovo U430 USB not working

    I bought a new lenovo U430 running on windows 8.1. Only the USB 3 and HDMI ports are working. The other USB ports are not working. I uninstalled and reinstalled from device manager and made all suggested updates. Nothing worked. Please help! Regards