Hi, my question is, if i have a text area with a set of printed code,

for example

spurs vs chelsea
man unt vs arsenal
liverpool vs everton

and then underneath i have two text boxes hame and away, how do i send the valeus for the home team to the home team text box and the valus for the away team to the away team text box? also, when its been sent is it possible to remove the game from the textbox at the top?

thanks

Hi, my question is, if i have a text area with a set of printed code,

for example

spurs vs chelsea
man unt vs arsenal
liverpool vs everton

and then underneath i have two text boxes hame and away, how do i send the valeus for the home team to the home team text box and the valus for the away team to the away team text box? also, when its been sent is it possible to remove the game from the textbox at the top?

thanks

I just looked on the Java pages and I don't see anything called TextBox. Do you mean TextField perhaps? Java's page for TextArea is below. There is also JTextArea. You'll need to be able to grab text from that TextArea and parse it, and also remove text from that TextArea. Java provides methods for this. See the link below and write back about what you mean by "text box".

http://java.sun.com/j2se/1.4.2/docs/api/java/awt/TextArea.html