| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
James Rome wrote:
The first thing I'd look for is a code path that could call updateLength on a thread other than the Swing thread. Add some code like this to updateLength: if (!SwingUtilities.isEventDispatchThread()) { System.err.println ("\n***** Not on EDT!"); Thread.dumpStack(); } (this is from memory, I may have some minor goof-ups in the above code, but it should illustrate the point) If the message appears, then updateLength has been called from another thread, and the stack trace will tell you how you got there. |
_______________________________________________ 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
| 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.