| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi Greg,
Thanks for pointing that out. In my init method, I set the ignoreRepaint to true for my application window. I will try setting it on all the subcomponents as well and see how that goes.
Robert:
I tried putting the painting thread to sleep after repaints to give the system time to do it's thing, but that didn't help.
Johnny Kewl responded earlier and suggested putting the paintComponents into an invokeAndWait call. I'm going to try that out as well.
Thanks everyone for all the suggestions, please keep them coming. Again, this is a very weird issue for me since I have not been able to recreate it on a windows machine.
EricOn Feb 12, 2008 3:32 PM, Greg Guerin <email@hidden> wrote:Eric Berry wrote:Googled for:
>I'm hoping that someone might know why this is happening and perhaps a way
>to fix it.
java active render tutorial
which quickly found this page:
<http://java.sun.com/docs/books/tutorial/extra/fullscreen/rendering.html>
with this suggestion under "Programming Tips":
"Use the setIgnoreRepaint method on your application window
*AND COMPONENTS* ..." (emphasis added)
Also search that page for "race condition" and "deadlock".
May want to read some of the other top google hits, too. They seem like
good examples.
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden--
Learn from the past. Live in the present. Plan for the future.
11101000
_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden This email sent to email@hidden
| References: | |
| >Re: JTextField hangs and freezes program when using active rendering. (From: "Eric Berry" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.