public void start() {
		throwExceptionIfRunning();

		running = true;
		hasBegun = false;
		timeToStop = false;
		startTime = System.nanoTime() / 1000000;

		if( timer == null ) {
			timer = new Timer( resolution, e -> {
				if( !hasBegun ) {
					begin();
					hasBegun = true;
				}

				timingEvent( getTimingFraction() );
			} );
		} else
			timer.setDelay( resolution );
		timer.setInitialDelay( 0 );
		timer.start();
	}
Starts the animation.

@throws IllegalStateException if animation is running
flatlaf-core/src/main/java/com/formdev/flatlaf/util/Animator.java