title: Javafx pause between each timeline "cycle"
body: <p>At the moment I have a list with images which get displayed for a certain amount of time with a timeline. However I want that after each there is a small pause where no image is displayed? Is there a way to achieve that behavior?</p>
  
  <p>Here is the Code I use so far:</p>
  
  <pre><code>ImageView imView = new ImageView();
  
  Duration timeBetweenImages = Duration.millis(10000);
  Timeline timeline = new Timeline();
  
  for (int i = 0; i &lt; imageList.size(); i++) {
      Image image = imageList.get(i);
      Duration frameTime = timeBetweenImages.multiply(i);
      KeyFrame frame = new KeyFrame(frameTime, e -&gt; imView.setImage(image));
      timeline.getKeyFrames().add(frame);
  }
  
  timeline.play();
  </code></pre>
  
  <p>As for now each picture is displayed 10 seconds. I want that after the each 10 seconds there is a 1 second pause where no image is displayed.</p>