bound Property « Development « Java Swing Q&A





1. bounded/ constraint properties    coderanch.com

2. bound properties    coderanch.com

hi As I understand bound properties when property change something happened .by PropertyChangeSupport that use firePropertyChange to fire event this method addPropertyChangeListener listen to event and addPropertyChangeListener drive it where event will be handeled at propertyChange is this correct and if it's correct why this code does give me this. import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; import java.beans.PropertyChangeEvent; import java.io.*; import javax.swing.JComponent; public ...