title: How to get the selected Tab from the TabPane with JavaFX?
body: <p>I am searching for how to get the selected tab from a <code>TabPane</code> just by clicking on a button with JavaFX. I've tried to do it with the <code>ChangeListener</code> but it doesn't work yet. </p>
  
  <p>So how can I do that?</p>