title: Copy&Paste to JavaFX TextArea and keep the Line break
body: <p>I'm currently writing a Tool in JavaFX.</p>
  
  <p>Therefor I need to copy some columns from Microsoft Excel using cmd + c,
  I then have the columns separated by tab in the clipboard.</p>
  
  <p>e.g: </p>
  
  <pre><code>Column1    Column2   Column3
  Value1   Value2   Value3
  Value4   Value5   Value6
  </code></pre>
  
  <p>When I past the clipboard in an editor like Atom, they look exactly that way, but when I paste them into a TextArea, the line breaks are gone.</p>
  
  <p>I need to do this, because I want to process the data from Excel using the Open CSV library.</p>
  
  <p>Is there a way to keep the line breaks?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I just found out, if I use <code>Clipboard.getSystemClipboard().getString()</code> and than pass the String to my Open CSV handler, it works, but if I set the same string in a TextArea using <code>textArea.setText(string)</code> there are still no line breaks in the displayed Text.</p>
  
  <p>Although it works now, I would like to user to paste the data into a TextArea, because it's a more common way than clicking a "paste&amp;load" Button, and the user then also can check if all of the data was pasted.</p>