how could I put the values I displayed ( IN JAVA CODE ) in an array. as in what the user will see.

(what is the best way to paste my code in here )
so you can view my code?