I found glg2d to be incompatible with my JOGL version (2.2.4). I fixed this.
The next thing I noticed is, that moveTo() for paths only draws the path as far as it is, but it does not discard the draw buffer, thus drawing the whole line and the moveTo() line the next time.
There also was an error when trying to draw empty areas.
I found glg2d to be incompatible with my JOGL version (2.2.4). I fixed this.
The next thing I noticed is, that moveTo() for paths only draws the path as far as it is, but it does not discard the draw buffer, thus drawing the whole line and the moveTo() line the next time.
There also was an error when trying to draw empty areas.