Code example for PropertyChangeEvent

Methods: getNewValuegetOldValue

     * @param evt A PropertyChangeEvent object describing the event source and the property that has changed. 
    public void propertyChange(final PropertyChangeEvent evt)
      final ReportRenderContext oldContext = (ReportRenderContext) evt.getOldValue();
      final ReportRenderContext activeContext = (ReportRenderContext) evt.getNewValue();
      updateActiveContext(oldContext, activeContext);
  private ActiveContextChangeHandler changeHandler;
  protected AbstractReportContextAction() 
    changeHandler = new ActiveContextChangeHandler();
  protected ReportDocumentContext getActiveContext() 
Stop searching for code, let great code find you!  Add Codota to your java IDE