drawPolygon (vs. drawPolyline?)

HiOK, this is easy to work around; nevertheless...Does anyone see a difference between drawPolygon and drawPolyline?Shouldn't there be according to the API doc(s)?Me: J 5 (_06) on WinXP.
[222 byte] By [agerard2a] at [2007-11-26 22:52:09]
# 1
A Polyline is just a bunch of lines. It doesn't need to be closed off.
CaptainMorgan08a at 2007-7-10 12:14:44 > top of Java-index,Security,Cryptography...
# 2

Sorry, once again I (probably?) didn't make myself completely clear;

What I wanted to say is: The result of drawPolygon looks exactly the same as drawPolyline on my machine, and I wondered; didn't "drawPolygon" say something about auto close the shape (from the last point back to the first point) - even when lastPoint != firstPoint - which doesn't happen on mine.

Understandable (now)?

agerard2a at 2007-7-10 12:14:44 > top of Java-index,Security,Cryptography...
# 3
A polygon is a 2D region. You can fill a polygon, and when you do that you will see that it is closed. That does not mean that when you draw it, you will see a line connecting the first and last vertices. A polyline is the edge of a polygon.
James_Vagabonda at 2007-7-10 12:14:44 > top of Java-index,Security,Cryptography...