I am creating a program that will simulate a fish tank (got it off of google) and when I try to get the image using
mClownImage = getToolkit().getImage("Fishes/mClown.gif");
the getToolkit() part gives me an error. it suggests that I make a method called that. I have imported java.awt.Container; which contains the getToolkit method.
How would I fix this problem?
Thanks