Implementation of CAPTCHA in Java using Java Applet
CAPTCHA (an acronym for Completely Automated Public Turing test to tell Computers and Human Apart") is a type of challenge-response test used in computing to determine whether or not the user is human. For more information click here.
#INSTRUCTIONS To run the program in Windows:
- Save above program to any file with extension 'java', eg-"
Captcha.java
" on any directory. - Open Command Prompt: Start->Run->cmd
- Go to the directory where you have stored the program.
- Type "
javac your_file_name.java
", in this case its "javac Captcha.java
" - Type "
appletviewer your_file_name.java
", in this case its "appletviewer Captcha.java
"
You would see your applet.
To run the program in Unix -based Operating System (Linux, Fedora) you have to open Terminal and follow the above steps.