Display results of a loop in GUI textArea

Hi everyone, I hope you can help me with this. I have everything in my code working properly except for the fact that the payment amounts are being displayed in the command window and I need to display them in the text area, as well as adding scroll bars to the text area. I have been scouring google and I just can't seem to find a way to move the results to the text area, so any help you could give would be much appreciated!

I realize that I am telling the results to go to the command window by using the System.out.printf but I just can't figure out how or what to change that to??

To Clarify, I need help with two things:
1. Move results from command window to textArea
2. Add scroll bars to textArea

Save the the sentence to a string variable then use setText() , then convert the non String variables to string and do the same method

a bit similar to what you done here only thing difference is you'll be storing the output to a string variable beforehand

// textArea1.setText(String.valueOf(df.format(monthlyPayment)));

Sorry to ask this, but I am not sure that I followed everything you were saying there, could you break it down a little further and maybe help me get started at least? I am not afraid to get my hands dirty and to try some stuff and figure it out, but I just need a little bit more of a shove in the right direction, I just feel pretty lost on this one?!?!

Also, as you can see that line that you pulled out of my text was an attempt to get something in that box, but it wasn't what I needed, I need the data that is output into the command line window to show up in the textArea.

OK, so for #1 I tried using that and while it did populate inside the textArea1 like I wanted it to, it did not populate the data that I was looking for, I was looking to bring the data in that was showing up in the command window, so I think we are getting close.

#2, I thought I had my formatting showing up correctly in the command window, so I am not sure what I need to do differently with formatting?

#3 I read the tutorial and added the code for the scroll bars but I don't see anything as of yet, maybe it will depend on if I actually have data in that textArea1 or not, or maybe I just didn't do it right?

Hi. so this is actually a continuation from another question of mine[Here](https://www.daniweb.com/programming/software-development/threads/506795/dynamically-add-values-into-datagridview-cell-from-listbox-vb2010) but i was advised to start a new thread as the original question …

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...