I have a UI like this. Details of the selected item is shown in a separate JPanel.
User modify the details in the details pane. But I do not want to enforce user to click an update button in the form. Is there a way to update the backend model automatically when user changes something in the details pane?
What I'm thinking to look for losing focus on any of the components in the panel. If the focus is lost, I will check if the data changed in any of the input field. If data changed, controller will be called with the update event. Is there an elegant way to do this?