void () { GraphicsUtil.setAntialiasingType(this, AntialiasingType.getAAHintForSwingComponent()); Object value = UIManager.getDefaults().get(RenderingHints.KEY_FRACTIONALMETRICS); if (value == null) value = RenderingHints.VALUE_FRACTIONALMETRICS_OFF; putClientProperty(RenderingHints.KEY_FRACTIONALMETRICS, value); }