I have an array of 256 JLabels. I’m trying to pick 40 random labels, and assign them a new name.
I’ve tried using a random int method, but I’m not able to convert that to a JLabel.
I’m newer to java. Any help is appreciated
New contributor
Jackson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.