Code example for PropertyChangeEvent

Methods: getSource

0
        this.addPropertyChangeListener("value", this);
    } 
 
    public void propertyChange(PropertyChangeEvent e)
    { 
        byteValueHolder.setValue(((Number)((JFormattedTextField)e.getSource()).getValue()).byteValue());
    } 
 
    public ByteValueHolder getByteValueHolder() 
    { 
        return byteValueHolder;
    } 
}