How to programmatically set a string value in a JavaFX ComboBox
<p>Basically, here is what I need:</p>

<p>I have a JavaFX ComboBox, and it is set to Editable. Since it is editable, there is a little text field in there where someone can enter in a String. I want to use previously generated data to populate that little text field. How do I accomplish this?</p>

<pre><code>    enterSchoolName.setSelectionModel((SingleSelectionModel&lt;String&gt;) FXCollections.observableArrayList(studentData.getSchoolName()));
</code></pre>

<p>This is all i have in the way of relevant code and an "attempt" at a solution.</p>