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

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.