Javefx and events

May 16, 2018
Reaction score
JavaFX 11.
Window 8.1
Eclipse 2018/09
Desktop application

I have 3 classes: A, B and C. Class C includes a ComboBox, as the ComboBox fires an event Class B receives it and performs a task. Once class C finishes with its task, it must fire an event that informs class A of the changes in the classes C and B, respectively. So the data should flow this way A <- B <- C <- ComboBox. Now my problem is that I don’t know how to write the necessary code to make class B fire the event for class A to to consume.

Can any body help me?

Thanks in advance


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question