public void setDuration(Duration duration) {
		this.duration = Objects.requireNonNull(duration);
	}
Sets the animation duration.  The default is 1 second.
@param duration the duration
Ghidra/Framework/Docking/src/main/java/docking/util/AnimationRunner.java