title: JavaFX get data out of a tableview into a textfield
body: <p>I will edit my columns but I don't know how to do it.
  I need to know how I get the selected row data in a text field</p>
  
  <p>I'm learning java but I don't know how to do it.</p>
  
  <p>You can see it on the screen</p>
  
  <pre><code> public void Showeditscreen () {
          Stage editstage = new Stage();
  
          VBox editbox = new VBox(8);
          editbox.setPadding(new Insets(10));
          editbox.setAlignment(Pos.CENTER);
  
          Label editlabel = new Label("Edit persondetails");
  
          TextField editfirstnameinput = new TextField();
  
  
          TextField editlastnameinput = new TextField();
  
          TextField editemailinput = new TextField();
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/VxA4r.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VxA4r.png" alt="enter image description here"></a></p>