Using JOptionPane, I want to display in one window:

1: ***
2: *****
etc

where 1 is the element of the array, and the * are a percentage calculated in a loop. My variables are all being input...