Question: What is the difference between the paintComponent and repaint methods?
What is the difference between the paintComponent and repaint methods?
Step by Step Solution
3.29 Rating (158 Votes )
There are 3 Steps involved in it
This method is needed to draw something on JPanel other than drawing the background color This metho... View full answer
Get step-by-step solutions from verified subject matter experts
