Hi,
Thanks very much for the help. Just as a side note to anyone else who comes across this problem, I found that if I didn't include the line window.setVerticalSyncEnabled(true);, then my code had the same problem as mentioned above. Another fix was to remove this line, and use window.setActive(true);. It appears as though the active thread was the one doing the calculations, not updating the gui, but using either of these lines of code solves the problem.
Thanks for your reply, although what exactly do you mean by a race condition, I'm not sure how it applies here? Do you just mean that my display could update just before a new value is given, and then by the time it updates again, there is another new value and so it skips displaying one value as it isn't fast enough?
Thanks,
Mark.