- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtes2.java
More file actions
Latest commit
19 lines (13 loc) · 450 Bytes
/
Copy pathtes2.java
File metadata and controls
19 lines (13 loc) · 450 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
packageclienteditor;
importjava.beans.PropertyChangeListener;
importjava.beans.PropertyChangeSupport;
publicclassClient {
privateStringfirstName;
privatefinalPropertyChangeSupportchangeSupport = newPropertyChangeSupport(this);
publicvoidaddPropertyChangeListener(PropertyChangeListenerlistener) {
changeSupport.addPropertyChangeListener(listener);
}
publicStringgetSurname() {
returnsurname;
}
}