Set text on the Swing thread