The problem of anti-aliasing, can you set g2d.setRenderingHint like java 