How to change the background color for JPanels with Nimbus Look and Feel?

UIManager.getLookAndFeelDefaults().put("Panel.background", Color.RED);

Leave a Comment