예제 #1
0
 private void removePropertyChangeListeners() {
   CarRoads.instance().removePropertyChangeListener(this);
   engineModels.removePropertyChangeListener(this);
   engineTypes.removePropertyChangeListener(this);
   engineLengths.removePropertyChangeListener(this);
   CarOwners.instance().removePropertyChangeListener(this);
   locationManager.removePropertyChangeListener(this);
   manager.removePropertyChangeListener(this);
 }
예제 #2
0
 @Override
 public void dispose() {
   locationManager.removePropertyChangeListener(this);
   super.dispose();
 }