The call to "super.paintComponent(g);" within your JPanel will invoke the default painting of panels. The default is to clear everything with the background color.
In this case your panel will...
Type: Posts; User: Cornix
The call to "super.paintComponent(g);" within your JPanel will invoke the default painting of panels. The default is to clear everything with the background color.
In this case your panel will...
repaint() does NOT paint the component. The only thing it does is mark your component to indicate that it needs to be repainted at some point in the future. When this will be is hard to say, its up...