SyntaxFix
Write A Post
Hire A Developer
Questions
You can use the getGraphics method of the component on which you would like to draw. This in turn should allow you to draw lines and make other things which are available through the Graphics class