tags:

views:

240

answers:

1

I was trying to change the color of my JFileChooser following some ideas from this post:

http://stackoverflow.com/questions/1257474/change-color-of-windowsplacesbar-in-jfilechooser/1548455#1548455

However I was not able to do so, I could not found wich code is missing. Until now i got only this:

    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);

I just hope that someone could help me.

A: 
CT_Bolt
This code should be flagged as offensive lol
JRL