Javefx and events

Discussion in 'Java' started by Amno Jee Wu, Nov 9, 2018.

  1. Amno Jee Wu

    Amno Jee Wu

    May 16, 2018
    Likes Received:
    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
    Amno Jee Wu, Nov 9, 2018
    1. Advertisements

  2. Amno Jee Wu

    John Joe

    Apr 25, 2017
    Likes Received:
    Can you show how ComboBox fires an event Class B ?
    John Joe, Dec 14, 2018
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.