|
if ((arraySize - 0 + 1) % 40 != 0)
This is the only thing that I know how to do in order to accomplish my goal. I read this off of a site, that is the if statement above.
I don't know how to get it to print to the next line after 40 number. I thought that the statement above did this and my placement of it was ok. This is where I need help. Either showing me, or a link that shows how to accomplish this within a JOptionPaneShowMessage window.
|