Implementing validator

To implement validator, do the following:
  1. Right-click the BTTJumpStartSampleRCPClient Project, and select New > package. In the dialog box that pops up, enter com.ibm.btt.jumpstart.sample.validator in the Package field, and click Finish.
  2. Copy the WithdrawValidator.java from <toolkit_root>\samples\BTTJumpStartSampleRCPClient.zip\ BTTJumpStartSampleRCPClient/src/com/ibm/btt/jumpstart/sample/validator to com.ibm.btt.jumpstart.sample.validator package of BTTJumpStartSampleRCPClient Project.
    1. The validator is called when the teller input any words to Amount field in withdrawProc panel:

      Screen capture of the withdrawProc

    2. The validator is used to check if the teller’s input is validated.