New here and could use some help
I am new here (love the forum) and I am trying to get back into JAVA. I have a class that will be starting in the Fall, and since it has been two years I thought I would ramp myself back up. Now, I can use a little help...
I have taken course work from a school and I am making a GUI using netbeans. (I don't want to post code as it is still used by several schools)
What I am trying to do is this... I have my JFrame that has my buttons and outputs my result (singular) to a JTextPane (works fine). However, what I now want to do is have multiple results scroll down this pane rather than just a single result. I have a line that uses setText to output to that field. I have searched but I can't seem to find a way to add to that field without it deleting the previous entry.
1. Am I using the right Text field to do this? (JTextPane)
2. How might I go about adding additional information to this window without it overwriting and/or removing the original entry?
For instance, if my program where to output a count (1 - 10), I would want to see...
in the window.
Thanks in advance for your help... Also, I am not looking for total handouts here, I just want to be pointed in the right direction so that I can ramp up my skills again. :)