Code example for PropertyChangeListener

Methods: propertyChange

0
		public MultiPropertyChangeListener(PropertyChangeListener iparent) {
			parent = iparent;
		} 
 
		public void propertyChange(PropertyChangeEvent e) {
			parent.propertyChange(e);
			if (e.getPropertyName().equals("PRESSED_ICON")) {
				setPressedIcon((Icon) e.getNewValue());
			} 
		} 
	} 
} 
Contextual code suggestions in your IDE  Get Codota for Java