According to Swing tutorial:
Some Swing component methods are labelled \"thread safe\" in the API specification; these can be safely invoked from any
But you already have the answer: only those methods which are specifically documented as being thread-safe in the method JavaDoc, are threadsafe! this is from JTextComponent.setText
* This method is thread safe, although most Swing methods * are not. Please see * How * to Use Threads for more information.
If the method documentation doesn't say it's safe, then it isn't safe: access to the JavaDoc is therefore critical when coding against Swing