Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Swing / AWT / SWT
Drawing dotted/dashed lines in a scaled JPanel?
Joined: Jan 23, 2009
Mar 03, 2009 11:43:49
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?
I agree. Here's the link:
subject: Drawing dotted/dashed lines in a scaled JPanel?
How are tiers shown in component diagram
Line2D vs. Line2D.Float vs...
draw smooth dash-ed line
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014