scala-ide/scala-ide — pull request #82 by skyluc (2012-03-14 17:52:35+00:00)
Title: Fixes the invalid thread access generated when creating a Java file for the first time

Some Java preferences get set the first time a code template is
used. This preference changes trigger UI updates, but the Java editor
(base of the Scala editor) does not execute these UI updates in the right
thread.
Forcing those preference change to be run in the UI thread.
Fixes #1000738