Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UI components of java programs appearing as blank boxes

As I run Java programs (like DbVisualizer and OpenProj) on my computer, some UI components like buttons, images, check boxes, scrollbars, etc. show as blank boxes. Not rarely some of these components first appear normally when you open the program and then go blank as you mouse over them.

I have already updated JRE and video drivers and also tweaked JAVA_OPTS with -Dsun.java2d.noddraw=true;-Dsun.java2d.d3d=false;, as recommended in Java forums, but none of these proposed solutions have worked so far.

I don't believe this is an OS specific issue, since I checked some other PCs with the exact same configuration of OS (Windows Vista) and hardware and many of them don't present that problem.

A screenshot of this situation can be seen here:

GUI Blank Boxes

Any ideas?

like image 717
gpnr Avatar asked Jan 07 '13 19:01

gpnr


1 Answers

Those JAVA_OPTS must be separated by spaces and not semi-colons!

Connect to the application with jVisualVM and verify that the "JVM Arguments" section contains all your desired options.

like image 124
Ryan Avatar answered Oct 19 '22 16:10

Ryan