frame lefted unpainted after being covered with other window
Joined: Oct 11, 2009
Hi.. I hope the topic title makes sense. I have a small question.
It is an ordinary code. When I cover my frame with some other window, the circle doesn't get repainted, unless I resize a window. The JLabel "Felix" gets repainted. How can I make the circle gets repainted as well, in case when another window covers the frame, and when moved away, that place is not repainted with a circle?
Thank You for help
Joined: Jun 13, 2009
You should NOT override the paint() method of a JFrame.