Or you could put the numbers 1 to 10 in a List of some sort and then use the Collections.shuffle() method. You would need to create Integer objects to do this rather than using primitive ints.
Post by:autobot
It's hard to fight evil. The little things, like a nice sandwich, really helps. Right tiny ad?
a bit of art, as a gift, the permaculture playing cards