je tentais de changer la couleur de mon JFileChooser suivant quelques idées de ce poste:Changer la couleur de JFileChooser
Change color of WindowsPlacesBar in JFileChooser
Cependant je ne pouvais le faire, je ne pouvais pas trouver le code Wich manque . Jusqu'à présent, j'ai seulement ceci:
UIManager.put("Panel.background", Color.BLACK);
UIManager.put("Button.background", Color.BLACK);
UIManager.put("ComboBox.background", Color.BLACK);
UIManager.put("ComboBox.foreground", Color.WHITE);
UIManager.put("TextField.background", Color.BLACK);
UIManager.put("TextField.foreground", Color.WHITE);
UIManager.put("ToolBar.background", Color.BLACK);
UIManager.put("Viewport.background", Color.BLACK);
UIManager.put("Viewport.foreground", Color.WHITE);
SwingUtilities.updateComponentTreeUI(this);
J'espère juste que quelqu'un pourrait m'aider.
Ce code doit être marqué comme offensant lol – JRL