Supply the cap and join properties as follows:

[code]

g2.setStroke(new BasicStroke((float) borderSize, BasicStroke.CAP_ROUND,
        BasicStroke.JOIN_ROUND));
[/code]

Piet
[Message sent by forum member 'pietblok' (pietblok)]

http://forums.java.net/jive/thread.jspa?messageID=342198

===========================================================================
To unsubscribe, send email to lists...@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
lists...@java.sun.com and include in the body of the message "help".

Reply via email to