Ask your own question, for FREE!
Computer Science 7 Online
OpenStudy (anonymous):

In Java, I am creating a simulated slots machine. I need to incorporate images of "7" "Cherry" "Banana" and "BAR". I was thinking of 3 arrays for the slots positions and cycling through them to randomly pick one for each spot. My question is how do I read image files/ images saved in my windows explorer into an array in java?

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!