A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
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?
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
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