Editing how file name is displayed in JComboBox while maintaining access to file
I am very new to Java and brand new to stack overflow.
I am attempting to create a simple media player coded in Java utilizing the JMF API. Thus far I have been able to set up a simple queue/playlist to hold song files using a
What I would like to do, is have the song files appear in the
Thus far, I tried just adding the
I also tried creating a
I am certain that it is just my amateur level of knowledge that is creating this stumbling block, there has to be a simple way to do this, but believe it or not I could not seem to find one, at lest not one written in a way I easily understood. Any help is much appreciated.
I think this is what are you looking for, make a custom renderer for your comboBox
Read more How to use ComboBox