Not editable ComboBox does not paint value setting by code (setValue()) when it does not exist in the list.
But the value is still there. (getValue() not return null).
So I see two possibilities:
1 - If the value does not exist in the list, sets the value to null.
2 - Paints the value, even if there not on the list (as the editable version) (vote for this)
But the value is still there. (getValue() not return null).
So I see two possibilities:
1 - If the value does not exist in the list, sets the value to null.
2 - Paints the value, even if there not on the list (as the editable version) (vote for this)
- relates to
-
JDK-8221722 ComboBox: uncontained value not shown in buttonCell
- Open