JavaFx Application Thread - Platform.runLater
Hi,
We have an application that has a few background running threads that interact with our JavaFx GUI. All updates are done using the Platform.runLater pattern. We are running into an issue that when the background threads get cranked up they can send thousands of update requests. We then notice that the GUI gets very jerky and slows down even freezing for long chunks of time. I can sort of fix the problem by putting in Thread.sleep( 50 ) calls before performing the next Platform.runLater.
Is this a know side effect of the Application Thread being over loaded? Is there a way to find out the current depth of the Application Thread?
Thanks.