Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JavaFx Application Thread - Platform.runLater

BluewizardMar 4 2013 — edited Mar 4 2013
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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 1 2013
Added on Mar 4 2013
3 comments
2,151 views