1. paintComponent() leaving behind previously drawn images after repaint() stackoverflow.comI have a JPanel which draws .png images. each image has 2 copies to signify whether or not it has been selected. One image is normal and one has a colored ... |
2. Problems with repaint in gui stackoverflow.comThe first time a choose a image, it works just fine. But it does not work when I try to change it, the first image remains on the screen.
|