Register / Login
Win a copy of
Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA)
this week in the
Swing / AWT / SWT
Drawing dotted/dashed lines in a scaled JPanel?
posted 7 years ago
It's not that I can't draw dotted lines, I can, but when I use Graphics2D.scale() to zoom in or out on the
the dotted lines become ugly/rough/fuzzy depending on the scale factor.
I want the dotted lines to scale correctly in terms of location, but not change the appearance or spacing of the dottedness. Is there a way to do this?
Line2D vs. Line2D.Float vs...
How are tiers shown in component diagram
draw smooth dash-ed line