Example #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);
 }
Example #2
0
 @Override
 public void dispose() {
   locationManager.removePropertyChangeListener(this);
   super.dispose();
 }