Call prompts on Swing thread