Nothing particular catches my eye, but I suppose it could be some problem with the itemID type that you use, for example that equals() or something doesn’t work.
I made a
quick test with ComboBox with enum types and it seems to work OK.
Since type.getName() is return String this is no longer a case of it being an enum issue. I also tried using Select instead of ComboBox but the result is the same.
I sure wish ComboBox threw some kind of exception when setValue() is given an argument which is not found or somehow invalid. Just being silent about not using the argument given makes debugging much harder.
I’ve found the problem. The bug was deep in the PropertysetItem I was using as the data source for the form which used the ComboBox. Apparantly I “simplified” the example far too much in my posting.
I really appreciate your suggestions and feedback!