Picking multiple random JLabels from a JLabel array I have an array of 256 JLabels. I’m trying to pick 40 random labels, and assign them a new name.