java - Is it possible to prioritize non-JavaFX threads over the JavaFX thread? -


i have javafx application i'm receiving information hardware with, using:

platform.runlater(new runnable() {     @override     public void run() {      } }); 

the problem being, sometimes, if not always, want prioritize data collection accuracy. there alternative runlater perhaps halts javafx thread temporarily? or possible have application javafx thread sub-thread?

halting javafx thread, result in freezing ui !

i hope not looking !

if want prioritize data collection part, run on different worker thread(task), which run parallel javafx thread, , once data collection completed, use runlater update ui !


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -