Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: intermittent hang on launch




Am 30.01.2007 um 01:34 schrieb Paul Archibald:


I have tried to debug this, with no luck. My reading has made me suspect that some sort of thread problem might be causing this, or perhaps some sort of problem attempting to enable some UI elements during resource loading.

#15 0x00000034 in javax.swing.JEditorPane.setText() at JEditorPane.java:1314


It looks like you are calling setText() from outside the AWT Thread. Although I don't recall whether it is really forbidden, you might want to try to call this from the AWT Thread instead (using SwingWorker or something along these lines). We had several similar problems in our software that were solved by doing GUI thing always in the AWT Thread.

Ulli _______________________________________________
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: 
 >intermittent hang on launch (From: Paul Archibald <email@hidden>)



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.