public static void disableClearType(JComponent component){
  if (SystemInfoUtilities.getOperatingSystem() == OperatingSystem.WINDOWS && AA_TEXT_PROPERTY != null) {
    component.putClientProperty(AA_TEXT_PROPERTY,null);
  }
}

public static void disableClearType ( JComponent component ) { if ( SystemInfoUtilities . getOperatingSystem ( ) == OperatingSystem . WINDOWS && AA_TEXT_PROPERTY != null ) { component . putClientProperty ( AA_TEXT_PROPERTY , null ) ; } }
attempts to disable the default clear type rendering on windows such that rendering hints can be used . has no effect on operating systems other than microsoft windows . might fail silently .
