Anti-aliasing doesn't "stop working". It's a trade-off of sharpness for smoothness.
db
Type: Posts; User: Darryl.Burke
Anti-aliasing doesn't "stop working". It's a trade-off of sharpness for smoothness.
db
-- Cast the Graphics to Graphics2D :
Graphics2D g2 = (Graphics2D) g;
-- set the rendering hint:
g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
db