It is a simple Applet to demonstrate the use of the ValidateCreditCard class.It validates the prefix and the checkdigit. It does *not* contact the credit card company to ensure that number has actually been issued and that the account is in good standing.It will also tell you which of the following credit card companies issued the card: Amex, Diners Club, Carte Blanche, Discover, enRoute, JCB, MasterCard or Visa.ATM cards use a different secret scheme which this program does not handle. Unfortunately, there is not even a reliable way to tell an ATM card from a credit card just by the number.It is primarily designed to be included in your own Java program, though it can be used standalone or as an Applet.To install, Extract the zip download with Winzip, available from http://www.winzip.com (or similar unzip utility) into any directory you please, often C: -- ticking off the (user folder names) option. To run as an application, type:java -jar C:commindprodcreditcardcreditcard.jaradjusting as necessary to account for where the jar file is.You must have Java version 1.1 or later installed to use this package.See http://mindprod.com/jgloss/installingjava.html for details.
Changes in this version:
convert to JDK 1.5. simplify code using enum.
( By Canadian Mind Products - CreditCard Validator Publisher )