UIManager.setLookAndFeel(new FlatLightLaf());
FlatLaf.setGlobalExtraDefaults(Collections.singletonMap("@accentColor", "#ff0000"));
Class<? extends LookAndFeel> lafClass = UIManager.getLookAndFeel().getClass();
FlatLaf.setup(lafClass.newInstance());
FlatLaf.updateUI();
Post Views: 1,647
2022/05/09 by admin