FileDocCategorySizeDatePackage
CustomerIDTextField.javaAPI DocExample1030Thu Oct 13 14:58:00 BST 2005com.samscdrental.display.adt

CustomerIDTextField

public class CustomerIDTextField extends JTextField

Fields Summary
private static final long
serialVersionUID
Constructors Summary
public CustomerIDTextField()

		super();
		setText( "" );
		this.addKeyListener( new MyKeyListener() );
	
Methods Summary
public CustomerIDgetCustomerID()

		String customerIDString = getText();
		CustomerID aCustomerID = CustomerID.parseString( customerIDString );
		return aCustomerID;