...

how do you place images in an array in java?

fdama
09-02-2004, 04:10 AM
i am making a card game and i would like to know how to put images in array so i can display random cards. Thanks

sad69
09-02-2004, 11:23 PM
I think you can create an array of ImageIcons:
http://java.sun.com/j2se/1.3/docs/api/javax/swing/ImageIcon.html

I've never done anything like this though, so it's uncharted territory for me.. let me know if/how it works out.

Sadiq.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum