This is likely caused by an incompatibility between your graphics card drivers and the Java version.
Upgrading the graphics card drivers, or downgrading/upgrading the Java version, may resolve the issue.
Another option, if updating does not help, would be to add a line to the parametry.txt file (located in the Flexi installation folder):
-Dsun.java2d.opengl=true
