How to put Expression display in the binding of a JComboBox?

0

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 ?

    
asked by Giovani Preciado Ortiz 13.04.2018 в 19:21
source

0 answers