Hi Theresa,

Try setting the Antialias rendering hints as follows:

if g is the graphics object to which you are drawing the lines, call

g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);

This will make the lines smooth.

Thanks
Praveen

theresa gartland-jones wrote:
>
> Hi from new java user,
>
> I need help to make my jagged line drawings  - SMOOTHE
>
> I am evolving lines from a starting drawing to a target drawing. The lines
> in the starting drawing select a line from the target drawing and evolve
> towards it.....however, they draw lines between the points in a very jagged
> manner....My aim is for them to make a smoother line between the points.....
>
> Does anyone have ideas about how I can best achieve this?
>
> thanks,
> theresa.
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA2D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to