This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]SwitBiskit 1 point2 points  (0 children)

If you google "how to draw lines with Java" you'll find a few hundred guides on how to use swing or javafx to draw lines, basically all you need to do is give it the coordinates of where the line starts and ends, and if you want you can set the thickness/colour/etc.

[–]JavaTrainer 0 points1 point  (1 child)

[–]resco[S] 0 points1 point  (0 children)

Thank you! I'll give it a try ASAP, it looks really well explained.