I've created a Tab and added it to the TabPane. I have set its closable property to TRUE. How can I get the close button to show?
I was looking for answer long time, answer is very simple.
Just have to set TabClosingPolicy
In fxml file property can be added in tabplane as tabClosingPolicy="SELECTED_TAB" or "ALL_TABS"