Question: JAVA program Please help Create a simple JApplet-based CAPTCHA that has the following properties: put the code in computer and paste it 1. Creates a

JAVA program Please help

Create a simple JApplet-based CAPTCHA that has the following properties: put the code in computer and paste it

1. Creates a 200 high by 400 wide window

2. Generates and displays at runtime a 6-character CAPTCHA on the page from the following letters:

3. Generates 50 random lines (of random colors) throughout the window

4. Each line should have a random start and end X/Y coordinate, with the size of the window being the max for a particular coordinate

5. Generates 50 random ovals (of random colors) throughout the window

6. Each oval should have a random position and height/width, similar to #4

Example output:

JAVA program Please help Create a simple JApplet-based CAPTCHA that has the

7. For up to 10% extra credit, make each letter a different color or at a slightly different position or rotation (hint: look at AfflineTransform).

Applet started. Applet Viewer: Captcha. class

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!