This content has been marked as final. Show 4 replies
hi "user2486273", you can create a individual panel to draw your shape on it, then you have to move your panel (shape panel) on the main panel.
Don't double post. Your other thread with the same question has been removed.
Moving this to Java 2D.
Write a class that contains the graphics primitives and knows how its location and how to paint itself.
I would recommend Area