I was under the impression that the code above is all that's required to force my custom class to be used by my L&F. Since it does not work I've obviously missed something.
Joined: Sep 20, 2005
As far as I know, you only need to set the "ComboBoxUI" -> "myPackage.MyComboBoxUI" mapping, though the other one shouldn't harm anything.
Instead of using an Object array you could just do table.put("ComboBoxUI", "myPackage.MyComboBoxUI") after the call to super.initClassDefaults() but, again, I don't see how this would change anything.
Are you instantiating the JComboBox after calling UIManager.setLookAndFeel()?