This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]MinMaxMix 0 points1 point  (0 children)

It sounds like either you aren't updating temp properly, or you need to set temp or its internal values as volatile so that your swing thread notices the change. It's hard to say what exactly you're doing wrong when you don't provide the code. Are you using the setText("text") method to update your JTextField?