as above.
e.g
int[] array = new int[can be any size]
joptionpane.showmessagebox(null,
"what to put here is the question"
"messageboxtitle"
joptionpane.informationmessage};
//dont correct the message box crap i was in a rush i know how to do it
e.g
array 1 = 1
array 2 = 5
array 3 = 3
array 4 = 2
the array can be any size thats the problem so i can't just put
"array 1"+ array[0]
"array 2"+ array[1] etc
i can use a for loop when outputting it in a dos window but what can you use for a message box?