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!

Multithreading in JavaFX

^^ javi ^^Dec 25 2014 — edited Dec 30 2014

Hello,

I need to work with multiple threads in background in a JavaFX application. I have a screen with ten buttons and I need to 'bind' each thread with the button that started the thread. If the user pressed a button that had started a thread (in the main screen, MainController.java), I need to recover it to display the information that contains to display it on the controls of Details Screen ( a second screen, DetailController.java).


What Class do you recommend for this? Service?

https://docs.oracle.com/javase/8/javafx/api/javafx/concurrent/package-summary.html


It is possible to name the threads with any of these classes?


Best regards,

-javier

This post has been answered by csh on Dec 25 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 27 2015
Added on Dec 25 2014
5 comments
2,111 views