ID #1032

Having Rendering Issues?

In case CERTivity KeyStores Manager has graphical or rendering issues such as:
- incorrect repaints;
- non-viewable text and buttons;
- incorrect rendering windows;
- black pop-up windows;
- even system crashes for certain system configurations.

Then you need to customize how the 2D painting system operates. For example some of the the rendering issues are due to an incompatibility between Java, Windows DirectDraw and the Video card and are generally affecting any Java Desktop application on that machine.

Oracle (Sun) has some parameters available for fixing the incorrect rendering, for the Windows and DirectDraw case they are :
- ddoffscreen used to turn off the Java 2D system's use of DirectDraw and Direct3D for offscreen surfaces;
- noddraw used to turn off the Java 2D system's use of DirectDraw and Direct3D completely;
- d3d used to turn off the Java 2D system's use of Direct3D.
For the whole list of switches there are more details on  http://docs.oracle.com/javase/7/docs/technotes/guides/2d/flags.html.

When experiencing rendering problems on Microsoft Windows systems, a good solution is to deactivate DirectDraw.
Try to set the following parameters (properties)
 -J-Dsun.java2d.ddoffscreen=false -J-Dsun.java2d.d3d=false -J-Dsun.java2d.noddraw=true
in the file ${certivity.home}/etc/certivity.conf from the CERTivity installation directory (default for the JRE installer case is C:\Program Files (x86)\EduLib\CERTivity 1.0\etc\certivity.conf) under the default_options directive. For safety reasons do a backup of that file before editing.

Edit the file so that the default_options line becomes:

default_options="--branding certivity -J-Xms128m -J-Xmx256m -J-Dsun.java2d.ddoffscreen=false -J-Dsun.java2d.d3d=false -J-Dsun.java2d.noddraw=true --fontsize 11"

Make sure it remains a single line (i.e. no line terminator inside) and save the file. Close CERTivity and then restart it.

Tags: -

Related entries: -

Last update: 2012-07-06 15:09
Author: Administrator
Revision: 1.0

Print this record Send FAQ to a friend Show this as PDF file
Rate this FAQ

Average rating: 0 (0 Votes)

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry

powered by phpMyFAQ 2.7.2