hssn601
Junior Member level 2
I want to get data from textfield and copmare and if user enters yes than stores it in string a else stores it in string b
here is my code ..
package org.hsn.tut;
import java.awt.*;
import java.applet.Applet;
public class TextFieldDemo extends Applet{
public void init(){
TextField tf = new TextField("Type in the box");
add(tf);
}
}
my question is how to store data from text field in array and compare with "yes"
many thanks in advance
here is my code ..
package org.hsn.tut;
import java.awt.*;
import java.applet.Applet;
public class TextFieldDemo extends Applet{
public void init(){
TextField tf = new TextField("Type in the box");
add(tf);
}
}
my question is how to store data from text field in array and compare with "yes"
many thanks in advance