If you experience this problem, it may be related to the interaction between the display hardware on your PC and the Java runtime. Here is a solution that has been reported by a user of Lattix:
Bring up Display Properties Dialog.
Select the Settings tab.
Click on the Advanced button.
Select the Troubleshoot tab.
Turn off the Enable write combining. Alternatively, you can also move the Hardware Acceleration slider to “None”.