If you have upgraded to Java2 update 10 on a Microsoft Windows client, you may have discovered that your Java application does not work as it did before. For example, the colors of your Java2D graphic may be all wrong for no apparent reason.
After I upgraded, I discovered the reason for this is that Java2 update 10 uses by default the Direct3D pipeline for accelerating the rendering of Java applications. This is good for performance, but exposes your application to the incompatibilities and the platform-dependencies of a particular graphics driver (e.g., my PC has a Radeon HD 2400).
So if you hit this issue, the first thing to do is to download the latest driver for your graphic card.
If this still doesn't help, you can disable the accelerated graphic pipeline for Java2D by launching your Java app with this parameter:
Hope that helps!