[new] need help on GUI adding images
well im just confused on how i would create an object from one class and display it on another class.
For example on my main class i have created a frame which just has a blue background.
I have an crab class where i want to create like crab objects.
What im stuck on is how to i give a image of a crab ive got to the objects that i made? Would i somehow in the crab constructors give the image? or does the image not go in the constructors?
Also how when the crab objects have an image would i display it on the frame i create on the main class?
thanks everyone for your time