EndWordAction(String nm,boolean select){
  super(nm);
  this.select=select;
}

EndWordAction ( String nm , boolean select ) { super ( nm ) ; this . select = select ; }
create this action with the appropriate identifier .
