Most probably it is a duplicate question but none of existing question doesn't solve my problem.
I have a form called client. In that form I have a combobox for choosing country. But if user's country is not available they can add their country. SO when they choose add new from combobox one fxml file will popup and ask them to enter country name.
When they click add country button I want two things to be happened. first: new country will be saved to DB second: country combobox's value will be updated with new country name.
Note: add Country form has different controller.
Please help. TIA