0

Hi,
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
result :
1 (iteration 1)
2 (iteration 2)
.
.
10 (iteration 10)
I'm using netbeans
Thank's

2
Contributors
1
Reply
2
Views
11 Years
Discussion Span
Last Post by Phaelax
0

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.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.