anglok 0 Newbie Poster

Shouldn't be too hard if you just need something simple. Just use g.drawLine(x,y,x,y) repeatedly.

while([points left]) {
[g.drawLine]
}

To do dashes, just make two drawLine calls to to paint the (0-25%) and (50-75%) segments between plot points for example.

anglok 0 Newbie Poster

This post, in this thread, is not, exactly, an endorsement of your claim of having "good logic skill".

lol

anglok 0 Newbie Poster

Hello,

Is there a way to center or offset a canvas component inside of a Java Frame (AWT)? I've tried a number of strategies based around frame.add(canvas), and whether I'm using a full screen frame of not, it's always aligning at the top left of the frame.

Thanks for any suggestions!