title: How to disable some items of javaFX ComboBox?
body: <p>Can someone show me how to disable some item of my combobox (With FXML or Java code)? here is my ComboBox:</p>
  
  <pre><code>&lt;ComboBox fx:id="cBox"&gt;
    &lt;items&gt;
      &lt;FXCollections fx:factory="observableArrayList"&gt;
        &lt;String fx:value="Easy" /&gt;
        &lt;String fx:value="Normal" /&gt;
        &lt;String fx:value="Hard" /&gt;
      &lt;/FXCollections&gt;
    &lt;/items&gt;
  &lt;/ComboBox&gt;
  </code></pre>
  
  <p>Thanks!</p>