So I\'m currently working on a Card War Game in java. I\'m trying to get the GUI screen to print 2 random cards from a set of card images using an arrayList (must use this f
You could use the Collections.shuffle(...) method to shuffle the ArrayList.
Collections.shuffle(...)
ArrayList
Then just take the first two entries from the ArrayList.