I have 2 views in my application in one of them (lets call it A) I can enter a value and add this to a List in the next view (lets call it B) when I launch this view everything is just fine when I add every item like this in my constructor
for (Rekening r : app.getRekeningen()) {
rekeningList.addItem(r);
}
But when I add a new item in view A while view B is open it obviously doesn't update the JComboBox with the new value. My question is How can I achieve this?