title: JavaFX System out Println
body: <p>I'm doing an interface to show the progress of my simulation (elevators simulating job on a building). 
  The thing is, I already did this on the console with <code>System.out.println()</code>s and I wanted to show the exact same thing on a javaFX window. Is there any way where I can set the text of a <code>TextArea</code> or a <code>Label</code> or something to match the output of the console? Just printing the same thing but instead of printing on the console I wanted to print on a window. 
  I was dumb enough to try and set the Text of a <code>TextArea</code>to the <code>toString()</code> of my simulator but ofc if it is <code>System.out.println()</code>, it shows on the console and not in the <code>ThextArea</code>.</p>
  
  <p>EDIT: This is what I want to print:</p>
  
  <pre><code>@Override
  public String toString() {
      for (int y = 0; y &lt; 50; y++) {
          System.out.println("");
      }
  
      for (int i = pisos.size() - 1; i &gt;= 0; i--) {
          System.out.print(pisos.get(i).getPiso());
          System.out.print(pisos.get(i).pQueue().toString());
          System.out.print(" " + percorrerElevadores2(i));
          System.out.print(" " + pisos.get(i).pessoasServidas() + "\n");
      }
  
      System.out.println("Numero total de passageiros à espera:" + " " + Predio.getPredio().getNPessoasEmEspera());
      System.out.println("Numero total de pessageiros servidos:" + " " + Predio.getPredio().getNPessoasServidas());
      for (int z = 0; z &lt; getElevadores().size(); z++) {
          System.out.println("Distancia percorrida pelo elevador" + " " + z + ":" + " " + Predio.getPredio().getElevadores().get(z).getDistanciaPercorrida() + " " + "Pisos");
          System.out.println("Piso destino do elevador" + " " + z + ":" + " " + Predio.getPredio().getElevadores().get(z).getPisoDestino());
      }
  
      return "";
  }
  </code></pre>