I have a user interface, with buttons, textfields and comboboxes. It depends on the user connection to make them editable or not. With Fields it's easy, just :
setEditable(false);
But comboBox is a problem for me.
When I use:
setDisabled(true);
setOpacity(1.0);
The combobox is fully visible, not editable (editable in a comboBox means that you write your own text, it's automatically set to false), but the text in the combobox is grey.
Do you have an idea on how to make it not editable, and make it look like an editableComboBox. The text shall still be visible.