public void setResolution( int resolution ) {
		throwExceptionIfRunning();
		if( resolution <= 0 )
			throw new IllegalArgumentException();
		this.resolution = resolution;
	}
Sets the resolution of the animation in milliseconds.

@param resolution the resolution of the animation in milliseconds
@throws IllegalStateException if animation is running
@throws IllegalArgumentException if resolution is &lt;= zero
flatlaf-core/src/main/java/com/formdev/flatlaf/util/Animator.java