Join Slack
Powered by
Looking at the API for Tab <https://docs.oracle.co...
# tornadofx
c
Carlton Whitehead
10/10/2017, 12:03 PM
Looking at the API for Tab
https://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/Tab.html
, and TabPane
https://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/TabPane.html
, it looks like you would need to obtain a reference to the
TabPane
and the
Tab
and call something like
tabPane.getTabs().remove(tab)
Open in Slack
Previous
Next