title: How to append multicolor text in JavaFx textArea
body: <p>This is actually my first JavaFx desktop application. Within my application I want to display every event as a log in textarea. I have different log types , error,warning etc. I want to append all these logs inside a textarea with different colors. I tried like this(this is just a sample),</p>
  
  <pre><code> // Method call is like this
    logText("Enter Ip address First");
  
  
  // The method 
  public void logText(String log){
          log = "&gt;&gt; "+ log +"\n";
          Text t = new Text();
          t.setStyle("-fx-background-color: #DFF2BF;-fx-text-fill: #4F8A10;-fx-font-weight:bold;");
          t.setText(log);
          txtConsole.appendText(t.toString());
      } 
  </code></pre>
  
  <p>With above code I did not get any error but my output is like :</p>
  
  <pre><code>    Text[text="&gt;&gt; Enter Ip address First
  ", x=0.0, y=0.0, alignment=LEFT, origin=BASELINE, boundsType=LOGICAL, font=Font[name=System Regular, family=System, style=Regular, size=12.0], fontSmoothingType=GRAY, fill=0x000000ff]
  </code></pre>
  
  <p>How can I solve this ? I tried various methods mentioned here in stackoverflow (this is one of them).</p>
  
  <p>*** Please note that this application is for corporate use so I need to be strict to the licenses.</p>
  
  <p>Thanks in advance. </p>