I have a JComboBox
in my application and it is filled through a list of objects, but it fills up showing all the details of the object and I only want to show the name of the object through binding
.
In a JList
the option of display expresion appears within binding
.
But in the JComboBox
the display display option does not appear.
My question is, how can I show only the name of the object using a JComboBox
?