The only way I could find to change the color while retaining the shape was to grab a reference to the button, get the icon, change its color and set the new icon to the button. [ October 22, 2008: Message edited by: Darryl Burke ]
Well that's disappointing. Sun goes to all this trouble of using UIManager in their look&feels, then just use something as stupid as a hard coded color.
Although you can technically change that by providing a new MetalTheme, but still.
You know, I didn't think of that. Thanks for the fish
If using the default javax.swing.plaf.metal.OceanTheme, extending that serves the purpose. Of course, overriding getControlInfo() has other implications. I've already found it also changes the color of scroll bar arrows. This was the code: cheers, Darryl