I have a Java FX 2 app which is updating hundreds of times a second.
I’m getting a problem where the labels are partially blanked for a fraction of a second but this happens fairly often.
How do I fix this?

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Calling Platform.runLater() hundreds of times a second is not a good idea. I advise you throttle the input speed of your data source or batch your data together before invoking Platform.runLater() to update your UI, such that Platform.runLater isn’t invoked > 30 times a second.
I filed a jira request RT-21569 to improve the documentation on the Platform.runLater call and consider implementing a superior runLater event throttling system in the underlying platform.
A sample solution for batching runLater events is given by Richard Bair in this forum thread.
Comments by Richard Bair copied from the referred forum thread: