private void initDxSettings(){
  try {
    Boolean d3d=!settings.getBoolean("nod3d");
    System.setProperty("sun.java2d.d3d",d3d.toString());
    Boolean ddraw=settings.getBoolean("noddraw");
    System.setProperty("sun.java2d.noddraw",ddraw.toString());
    LOGGER.info("Drawing settings: d3d: " + d3d + " / noddraw: "+ ddraw);
  }
 catch (  SecurityException ex) {
    LOGGER.warning("Error setting drawing settings: " + ex.getLocalizedMessage());
  }
}

private void initDxSettings ( ) { try { Boolean d3d = ! settings . getBoolean ( "nod3d" ) ; System . setProperty ( "sun.java2d.d3d" , d3d . toString ( ) ) ; Boolean ddraw = settings . getBoolean ( "noddraw" ) ; System . setProperty ( "sun.java2d.noddraw" , ddraw . toString ( ) ) ; LOGGER . info ( "Drawing settings: d3d: " + d3d + " / noddraw: " + ddraw ) ; } catch ( SecurityException ex ) { LOGGER . warning ( "Error setting drawing settings: " + ex . getLocalizedMessage ( ) ) ; } }
based on the current renametings , rename the system properties to disable direct3d and / or directdraw .
