how to using function "for" to show iteration and the result
put in jTextArea or jFrame.
exp: i want to loop value 1 to 10, then
1 (iteration 1)
2 (iteration 2)
10 (iteration 10)
I'm using netbeans
Not sure which question you're asking. How to take data from a JTextField and put it in a JTextArea, or loop through a series of numbers and appending each to the JTextArea. Either way, you use .getText() and .setText(String s) for both classes.