boolean oldValue = wrapping; wrapping = flag; firePropertyChange("lineWrap", oldValue, wrapping);
boolean oldValue = lineWrap; lineWrap = flag; firePropertyChange("lineWrap", oldValue, lineWrap);
  public void setLineWrap(boolean flag)  {    if (wrapping == flag)      return;    boolean oldValue = wrapping;    wrapping = flag;    firePropertyChange("lineWrap", oldValue, wrapping);  }