To implement validator, do the following:
- Right-click the BTTJumpStartSampleRCPClient Project, and select . In
the dialog box that pops up, enter com.ibm.btt.jumpstart.sample.validator in
the Package field, and click Finish.
- 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.
- The validator is called when the teller input any words to Amount
field in withdrawProc panel:
- The validator is used to check if the teller’s input is validated.