Yes, that is what new does.
It is painting itself. It's a JPanel.
Type: Posts; User: Norm
Yes, that is what new does.
It is painting itself. It's a JPanel.
Read the tutorial at the link I posted about how to do drawing/painting in a component.
Can you make a small, simple program that compiles, executes and shows the problem?
A Short, Self Contained, Correct Example
Note: Getting a Graphcs object is not the normal way for custom...