I'm trying to get high quality lines drawn in my graphics.
I'm using the following in C#:
g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality ;
I'm trying to find the JAVA equivalent.
Through my research I found:
g2.setRenderingHint(RenderingHints.KEY_ANTIALIASIN G,
RenderingHints.VALUE_ANTIALIAS_ON);
but does not solve the problem.