Why miltiple paints on initial window draw.
Hello all;
I have an application that has the quirky bug of issuing TWO
paint calls on the initial window draw.
If I collapse/minimize the window after the first (two) paints
and then restore it only one paint command message is issued.
Since there is a lot of graphics data being drawn this is a
severe performance problem.
Rather than include a ton of code I thought I'd ask for a few
high level pointers. This is simpy a JFrame window with no controls
or panels in it at the moment. There is only one show() call in
the constructor. No calls to paint() or repaint() anywhere.
Is there an easy way to figure out who is issuing the duplicate
message?
Thanks much!
/Steve
If you put
new Throwable("Why am I here?").printStackTrace()
in your paint() method you can see who called it
Similar Messages
-
Why does closing all open windows (15) and leaving only one drop ram usage by only 100mb from 1.5 to 1.4Gb.
What is in this 1.4 gb ?
I don't care much about ram, It's just that cpu usage spike like crazy by the end.
''Edited to remove swearing - TonyE''Hi musicfan,<br />Sorry you are having problems with Firefox. Maybe you should have asked earlier and we could have fixed it.
Reading your comments I do not see that rolling back to an insecure Firefox 22 will actually help you much. You are probably best using IE, unless you have also damaged that.
*[[Export bookmarks to Internet Explorer]]
You should not use old versions they are insecure. Security fixes are publicised and exploitable.
* [[Install an older version of Firefox]]
* https://www.mozilla.org/security/known-vulnerabilities/firefox.html
Most others will not be having such problems. We are now able to say that with confidence because after developers missed a regression in Firefox 4 telemetry was introduced so that data was obtained. It may be an idea to turn on your telemetry, if you have not already done so, and decide to stick with Firefox.
*[[Send performance data to Mozilla to help improve Firefox]]
Trying safe mode takes seconds. Unfortunatly if you are not willing to do even rudimentary troubleshooting there is not anything we can do to help you.
*[[Troubleshoot Firefox issues using Safe Mode]] -
Why downloadhelper not installed in windows 7 64 bit?
why downloadhelper not installed in windows 7 64 bit?
== After install when try to run or openHi.
You should ask the extension's author for support. -
How do I install the lastest Ver? Why do I get a Windows error message?
I have Acrobat Pro 1.1.8. The Help menu command Check for Updates says NO UPDATES AVAILABLE.
A tray message in Windows 7 (32 bit) says to SOLVE A PROBLEM WITH ADOBE ACROBAT... and it takes me to my download page at Adobe where Acrobat Pro versions 11.0.01 through 11.0.05 are listed.
When I try to install any of the newer versions I get an error msg saying "...upgrade patch may update a different version of the program..."
What is the latest Acrobat Pro Version? How do I install it? Why do I get the Window error message?Please try to install the Acrobat update manually from the following page:
Acrobat X: http://www.adobe.com/support/downloads/detail.jsp?ftpID=5641 (Acrobat X Pro 10.1.8)
Acrobat XI : http://www.adobe.com/support/downloads/detail.jsp?ftpID=5643 (Acrobat XI Pro 11.0.0.4) and then
http://www.adobe.com/support/downloads/detail.jsp?ftpID=5673 (Acrobat XI Pro 11.0.0.5) -
Why won't my tabs & windows reopen as they should, even tho I have it set for them to do so?
"Firefox can be configured to restore all windows and tabs that were open when the application is closed or terminated unexpectedly. This article describes the circumstances under which your session is restored and how you can configure it."
I have it set up, in "Tools", "Options", etc., for my windows and tabs to reopen & be restored to the webpages that they were previously at before I, for one reason or another, restarted my computer! But, after I restart my computer and the Firefox browser, it always goes to my homepage; the windows & tabs NEVER restart as they should!
It wasn't always like this. It has only been within the last few weeks that this has become a constant and consistent problem. I assume that a Firefox update somehow disabled something & that's why it isn't working properly but, whatever...
How do I fix this so that my windows & tabs reopen as they should!?Have you checked to make sure that under>> Options >> General >> That the startup behavior is appropriately? I had the same problem after upgrading and setting my homepage. It should be set to "show my windows and tabs from last time".
Just re-read your post. sounds like you've tried this already. -
Question
why does firefox (updated) on windows 7 NOT send a hotllink (must copy/paste),when using the 'send link' feature,whereas firefox on XP always sends a hotlink? This feature has always worked perfectly on all my windows XP computers,but not at all on any of my versions of firefox on windows 7.How can i fix this? Why does it not work?Hi,
Please check if this happens in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode]. You can also attach a screenshot on this page below '''Post a Reply''' > '''Add images: Browse ...''' -
Why do i get a window in the lower right corner of the screen that says "high memory usage"
why do I get a window in the lower right corner of the screen that says "high memory usage" on my compaq presario using windows xp home edition?
Hi,
No just turn the monitor off, not the product off. Which version of NIS are you using ? Please see the following screen:
Regards.
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
Why does Verizon not support Windows 8 for wi fi?
Why does Verizon not support Windows 8 for wi fi? Are they planning on supporting Windows 8?
Solved!
Go to Solution.Verizon wi fi for hot spots does not work with Windows 8. For verification go to FAQs about Verizon Wi-Fi for FiOS Internet,
http://www.verizon.com/Support/Residential/Internet/fiosinternet/networking/setup/wi-fi/124650.htm , and click on How do I know if my laptop or netbook is compatible with Verizon Wi-Fi? . Verizon wireless home network does work well with Windows 8.
Since you can't even download the wi fi for hot spots software if you have Windows 8, I don't know how to use compatability mode to get around the problem, -
HT1338 why did i get a window that says another device is accessing my ip adress?
why did i get a window that says another device is accessing my ip address?
It may be that you have security turned on to prohibit this. You can register your drive by going to the website through your browser more easily.
-
When trying to deploy OS using PXE the client machine gets to the window where it shows "Initializing Windows PE" and "Windows is starting up..." However it never gets past this point. I've left it overnight hoping it would
eventually get past this but no luck. Not sure which log file I should be looking at for further troubleshooting. Thank YouI've downloaded the drivers for the Intel E1000 NIC that the vm is using and created the driver package and added it to the x86 boot image. VM still gets stuck at Initialinzing Windows PE. Command support is enabled on the boot image
and I can see the SMSTS log file is there but I have no way of accessing it or copying it somewhere to view it.
WinPE has cmtrace By default, so hit F8, type cmtrace and open smsts.log from C:\Windows\Temp with it. Cmtrace is much-much better than notepad!
E1000 is a good choice for NIC in VMware, done that myself. Another common reason could be disk driver, you may want to try it By chaninging defauls scsi to IDE inside that VM. -
Why MS remove Exchange from Windows 2012 Essentials?
Why MS remove Exchange from Windows 2012 Essentials and support just with Office 365 and Exchange on-premise?
I don't think Microsoft has ever said exactly why. Some possible reasons, pick one (or more).
1. Because Exchange has become too resource intensive.
2. Because Microsoft wants to drive small business to O365.
3. Because Small and Medium business were already flocking to O365 and abandoning on premise Exchange.
4, Microsoft built out all those expensive data centers and needed someone to use them for something.
5. Hosting Exchange on the DC has always violated best practices, now that there are alternatives no need to continue.
6. All of the above.
Larry Struckmeyer[MVP] If your question is answered please mark the response as the answer so that others can benefit. -
Why can't i load windows xp or 7 through boot camp
Why can't I load windows xp or windows 7 using boot camp assistant?
Don't know. What computer model and year? How are you trying? What happens when you try? Did you follow the Bootcamp instructions? http://www.apple.com/support/bootcamp/
-
Why do pages that initially load on an external server flash white?
Why do pages that initially load on an external server flash white? When the pages are loaded you can switch between without and page flash.
Example: http://www.capacitydartford.com - watch inital load then go back. No white flash. Tried on all general browsers.
Is there anything I can do to stop this?
Thanks, JamesWhy do pages that initially load on an external server flash white? When the pages are loaded you can switch between without and page flash.
Example: http://www.capacitydartford.com - watch inital load then go back. No white flash. Tried on all general browsers.
Is there anything I can do to stop this?
Thanks, James -
Hi everybody!
I would like to know how to make an initial
window described in application.xml
centered in the screen whatever be dimensions
of screen.
Please help.You have to set it via code, not in the application.xml
add a listener to the creation complete event
<mx:WindowedApplication ... creationComplete="creationComplete()" />
then set x and y like this:
private function creationComplete():void {
nativeWindow.x = x;
nativeWindow.y = y;
Of course you need to do some calculation to find out monitor's resolution (by means of flash.desktop.Capabilities)
HTH. -
AE CS6 can't get past the "Mediacore Initializing" window
I just installed Mountain Lion on my 12-core Mac Pro, did a clean install of CS6 Master Collection and still can't get past the "Mediacore Initializing" window. All the other CS6 apps are working fine and I don't have any plug-ins installed as of now.
Also, After Effects CS6 with Mountain Lion is working just fine on my MacBook Pro so I'm wondering if Mountain Lion is really the cause or not.
I've tried are throwing out the preference files, but that didn't do anything either. Furthermore, I still have CS5.5 on my computer and After Effects gets stuck in the same place with that version, as well.
If anyone has any ideas it would be much appreciated.
Thanks,
RayHere's a help document for this issue - http://helpx.adobe.com/x-productkb/multi/startup-screen-hangs-premiere-after.html
Maybe you are looking for
-
I have the following code in my 1.4.1 applet: int response = JOptionPane.showConfirmDialog(NewJabber.mainFrame,"Receive message from unregistered user: "+jid.getName()+" over the "+JID.SHOWNAMES[jid.getHostType()]+" transport. Accept and add user to
-
First let me say that I am new to labview, please bear with me. I want to use Labview to querry a iDRX thermocouple signal conditioner using tcp/ip. The signal conditioner is wired to a EIS-2B server. The server is at 198.162.10.53 and port 2000.
-
One to one relationship modelling
Hi all How to model a one to one relationship? i have a scenario where i had to maintain 2 different entities and cannot merge them into a single table coz they are separate entities Now while modelling them ... do we need to have a primary key for t
-
Multi-touch, ibooks author, satisfactory outcome?
A few months ago I was shown a multi-touch book made with ibooks author. I had published my memoir a year ago and realised early that distributors did not display indie authours. My book was completely invisible. I looked at the the multi-touch secti
-
How to default the safari browser to full screen
how to default the safari browser to full screen