how to enable/disable tab in Javafx?
<p>How to enable tab when default is disabled in fxml?</p>

<pre><code>... some code ...
 &lt;TabPane fx:id="tabpan"  prefHeight="256.0" prefWidth="497.0" tabClosingPolicy="UNAVAILABLE"&gt;
 &lt;Tab id="shoppingltab" disable="true" text="Lists"&gt;
...
</code></pre>

<p>in controller I did make </p>

<pre><code>@FXML private TabPane tabpan;
</code></pre>

<p>but i've got no idea how to enable this tab...</p>

<p>thx for help in advance</p>