public static MorphTransition create(int duration){
  MorphTransition mt=new MorphTransition();
  mt.duration=duration;
  return mt;
}

public static MorphTransition create ( int duration ) { MorphTransition mt = new MorphTransition ( ) ; mt . duration = duration ; return mt ; }
creates a transition with the given duration , this transition should be modified with the builder methods such as morph
