I ran my program today in JRE7, instead of JRE6, and I noticed that the colors were wrong: My title bars were usually blue, but now they are black.
It looks like the bug is caused by the fact that “com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel” is now “javax.swing.plaf.nimbus.NimbusLookAndFeel” in Java 7 (at least, that’s my best guess about what is going on).
I was able to work around the problem with the following code:
DockUI.getDefaultDockUI().registerColors(“javax.swing.plaf.nimbus.NimbusLookAndFeel”, new Nimbus6u10());
But I think the ‘right’ way to fix this would be to modify the registerColors() function in DockUI.java.
Well, as far as I can see it is already fixed in the newest version (1.1.1p7). So my question would be: which version of the framework did you use? And which OS, and which JRE exactly?