title: Disable JavaFx ComboBox
body: <p><strong>Correction: this works fine, I was being stupid.</strong></p>
  
  <p>I'm trying to disable a JavaFx ChoiceBox. Thought this would work:</p>
  
  <pre><code>    shapeList = FXCollections.observableArrayList(CShape.DOT, CShape.RIGHT_GLIDER, CShape.LEFT_GLIDER);
      choiceBox = new ChoiceBox&lt;&gt;(shapeList);
      choiceBox.setDisable(true);
  </code></pre>
  
  <p>but it doesn't seem to.</p>