public void propertyChange(PropertyChangeEvent event) { try { accept((ScalarMapAdapter) event.getSource(), (ScalarMap) event.getOldValue()); } catch (Exception e) { System.err.println( getClass().getName() + ".propertyChange(): " + "Couldn't handle change to ScalarMap: " + e); } }
public void propertyChange(PropertyChangeEvent event) { // A ConstantMap of the adapted data has changed. try { setChanged((DataAdapter) event.getSource()); } catch (Exception e) { System.err.println( getClass().getName() + ".propertyChange(): " + "Couldn't handle change to data: " + e); } }