hi can someone please tell me how to insert a image into an image array.
The image is currently in the same folder as the class file.
imran786
0
Newbie Poster
Recommended Answers
Jump to Post//assuming img is the reference-variable for an actual image final short AMOUNT = <insert amount of images you want>; Image images[] = new Image[AMOUNT]; // can now hold AMOUNT number of images images[0] = img; // assigns the address of img to the first indice of array …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.