private boolean valueHasChanged(ActionEvent e,String oldValue){
  boolean result=true;
  String n=getNewValue(e);
  String o="";
  if (oldValue != null && oldValue.length() > 0)   o=oldValue;
  if (n.equalsIgnoreCase(o))   result=false;
  return result;
}

private boolean valueHasChanged ( ActionEvent e , String oldValue ) { boolean result = true ; String n = getNewValue ( e ) ; String o = "" ; if ( oldValue != null && oldValue . length ( ) > 0 ) o = oldValue ; if ( n . equalsIgnoreCase ( o ) ) result = false ; return result ; }
checks whether the contents of a widget has changed
