String oldName = this.name;
this.name = name;
propertySupport.firePropertyChange("name", oldName, this.name);//textField updates
propertySupport.firePropertyChange(PROP_LIST, oldList, list); // JList}
Also another seperate setter is available for updating the Vector. I have set add/remove PropertyChangeListeners as well.
My real requirement is to update the JList according to data in BeanBinding class.(Ex. When user type in JTextField, relevant data from 1.database and 2.existing variables in class should be loaded into the JList)
Please,any one let me know how to bind data BeanBinding class(source) property for a JList in NetBeans.At least any tutorial link. There is a sample in NetBeans site,but it is for getting data directly from database.
subject: How to bind a JList to a Bean class property