Move data from jTextField to jTextArea

Reply

Join Date: Apr 2007
Posts: 34
Reputation: onsir is an unknown quantity at this point 
Solved Threads: 1
onsir onsir is offline Offline
Light Poster

Move data from jTextField to jTextArea

 
0
  #1
Apr 11th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 763
Reputation: Phaelax is on a distinguished road 
Solved Threads: 38
Phaelax Phaelax is offline Offline
Master Poster

Re: Move data from jTextField to jTextArea

 
0
  #2
Apr 13th, 2007
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC