04-24-2011, 10:02 PM
We use super.paintComponent(g) to clear the background of our panel. As there is nothing in the paintComponent() method of the parent class. So to make the background blank we will call the method of parent class, which will draw blank or simply clear every thing.
We are using super so that paintComponent() of parent class is called.
We are using super so that paintComponent() of parent class is called.
0300-9520262
Get solution in 24 hour |cpmputer & internet
mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
