A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
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?
subject: Drawing dotted/dashed lines in a scaled JPanel?
How are tiers shown in component diagram
draw smooth dash-ed line
Line2D vs. Line2D.Float vs...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014