title: Repainting of JavaFX window
body: <p>Is there any option to REPAINT opened window of javafx application? I need to repaint this window in loop (i=1000) and check time from start of repainting to end of repainting.</p>
  
  <p>I do not know where and which method use.  Thanks a lot</p>
  
  <pre><code>public class JavaFxCombobox extends Application {
  
  private static final int numberOFTestingLoops = 100;
  
  private List&lt;Long&gt; resultOfAnalysisRepaint = new ArrayList&lt;Long&gt;();
  private List&lt;Double&gt; resultOfAnalysisMemory = new ArrayList&lt;Double&gt;();
  
  public static void main(String[] args) {
      launch(args);
  }
  
  @Override
  public void start(Stage primaryStage) {
  
      GridPane gridPane = new GridPane();
      int counter = 0;
  
      List&lt;ComboBox&lt;String&gt;&gt; comboboxes = new ArrayList&lt;ComboBox&lt;String&gt;&gt;();
  
      for (int i = 0; i &lt; 30; i++) {
          for (int j = 0; j &lt; 30; j++) {
  
              counter++;
  
              ComboBox&lt;String&gt; comboBox = new ComboBox&lt;String&gt;();
              comboBox.getItems().addAll(Integer.toString(counter), "test1",
                      "test2");
              comboBox.setValue(Integer.toString(counter));
  
              comboboxes.add(comboBox);
  
              gridPane.add(comboboxes.get(counter - 1), j * 30, i * 35);
          }
      }
  
      Scene scene = new Scene(gridPane);
      primaryStage.setScene(scene);
      primaryStage.setWidth(1550);
      primaryStage.setHeight(670);
      primaryStage.show();
  
  }   
  }
  </code></pre>