A mauve test that I committed just now points out that the
BasicRootPaneUI should not install a background color on JRootPanes.
This is fixed by this patch.
2006-01-31 Roman Kennke <[EMAIL PROTECTED]>
* javax/swing/plaf/basic/BasicRootPaneUI.java
(installDefaults): Don't install a background color here.
/Roman
Index: javax/swing/plaf/basic/BasicRootPaneUI.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/basic/BasicRootPaneUI.java,v
retrieving revision 1.10
diff -u -r1.10 BasicRootPaneUI.java
--- javax/swing/plaf/basic/BasicRootPaneUI.java 18 Oct 2005 22:10:32 -0000 1.10
+++ javax/swing/plaf/basic/BasicRootPaneUI.java 31 Jan 2006 20:25:12 -0000
@@ -75,8 +75,7 @@
*/
protected void installDefaults(JRootPane rp)
{
- // Is this ok?
- rp.setBackground(UIManager.getColor("control"));
+ // TODO: What to do here, if anything? (might be a hook method)
}
/**