FileDocCategorySizeDatePackage
TextWatcher.javaAPI DocExample739Fri Feb 14 12:35:34 GMT 1997None

TextWatcher

public class TextWatcher extends Applet

Fields Summary
TextArea
area1
TextArea
area2
Constructors Summary
Methods Summary
public voidinit()

		setLayout( new GridLayout(2,1) );
		add( area1 = new TextArea() );
		add( area2 = new TextArea() );
		area1.addTextListener ( new TextSyncAdapter( area2 ));
		area2.addTextListener ( new TextSyncAdapter( area1 ));