TextField
A single line text :
TextField tf=new TextField(“textField”,40);
tf.addActionListener(theActionListener)
add(tf)
Event Handling :
- theActionListener -> actionPerformed()
- theTextListener - > textValueChanged(TextEvent)
Can be set to read-only :