Is there a way to override just a single UI component's L&F (not a single instance of it, but all instances) with a custom one? Basically I want to override the L&F defaults for it.
It looks like all of that gets setup in BasicLookAndFeel#getDefaults
I guess if I really needed to I could create a custom look and feel that extends the one I want to use and override it in the initClassDefaults
method, but I would prefer to just be able to override whatever UI is currently being used.
I was thinking I could just do UIManager.put(<ui_class_id>,<my-delegate-classname>)
This doesn't seem to work for the example I'm working on, but that could be because I'm trying to set a component that's not part of the standard look and feel (the component adds itself on). I'm trying to figure out if this is even the right approach.