Use ListCellRenderer to achieve what you want. Make a class that extends JLabel and implements ListCellRenderer. Set that class as a renderer in your JComboBox using setRenderer() method. Now when you access values from your jcombobox it will be of type jlabel.