With Nimbus, make control background color yellow only when control has focus?
This seems like it should be straightforward, but I haven't found a "good" way to do it... While using the Swing Nimbus L&F, I want to give my controls (JButtons, JTextField, etc...) a yellow background color when they have focus . Other than the yellow background color, I want them to keep all the usual Nimbus styling. When not focused, I want them to be drawn with the normal Nimbus styling. The only way I've found to do this is to rewrite the control [Focused].backgroundPainter for every single control (which would amount to rewriting a large part of Nimbus from scratch). Am I missing