myJList.setSelectedValue("someTHING", true); //if "SomeThing" in the list, it won't be selected
I want to set the value, but seems like setSelectedValue is case-sensitive, I want to select a value but ignore case-sensitive, is it possible? and how?
Instead of adding
Stringobjects to yourListModelyou could write your ownStringwrapper and override theequals(Object o)method to be case insensitive. This might have implications for other areas of your app.