当 fxml 中默认禁用时如何启用选项卡?
... some code ...
<TabPane fx:id="tabpan" prefHeight="256.0" prefWidth="497.0" tabClosingPolicy="UNAVAILABLE">
<Tab id="shoppingltab" disable="true" text="Lists">
...
Run Code Online (Sandbox Code Playgroud)
在我做的控制器中
@FXML private TabPane tabpan;
Run Code Online (Sandbox Code Playgroud)
但我不知道如何启用此选项卡...
谢谢提前的帮助