add Property Change Listener
Add a PropertyChangeListener to the listener list. The listener is registered for all properties. The same listener object may be added more than once, and will be called as many times as it is added. If listener
is null, no exception is thrown and no action is taken.
Parameters
listener
The PropertyChangeListener to be added
Add a PropertyChangeListener for a specific property. The listener will be invoked only when a call on firePropertyChange names that specific property. The same listener object may be added more than once. For each property, the listener will be invoked the number of times it was added for that property.
Since
1.2
Parameters
property Name
The name of the property to listen on.
listener
The PropertyChangeListener to be added