www.mormon.org
How do you know what you omitted is irrelevant?
Call repaint(); in your actionPerformed() method
Try moving the rabbit icon to the same location as the lynx.
Why have you given it public access; it should be protected?
If the lynx vanishes and the rabbit appears, it might be because you are only painting enough panel to show one image.
www.mormon.org
www.mormon.org
www.mormon.org
www.mormon.org
Well done, and you're welcome. It is surprising how simple the answer to some of these annoying questions can be!Originally posted by colton peterson:
I fixed it! Thanks again!
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |