According to Swing tutorial:
Some Swing component methods are labelled \"thread safe\" in the API specification; these can be safely invoked from any
In Java 7, previously thread safe methods of the view components rooted in JTextComponent are no longer thread safe. A typical workaround using EventQueue.invokeLater() is shown here. The remaining model-related methods, listed here, remain thread safe.
replaceSelection()setText()print()getPrintable()replaceSelection()insertComponent()insertIcon()setLogicalStyle()setCharacterAttributes()setParagraphAttributes()insert()append()replaceRange()