Question: Write a program with three checkboxes and a circle drawn in black. Each checkbox represents a color ( red , blue, or green ) .

Write a program with three checkboxes and a circle drawn in black. Each checkbox represents a color (red, blue, or green). Depending on the checkboxes selected, compute the resulting color as follows. If a checkbox is selected, assign the value 255 to the amount of the corresponding color. If a checkbox is not selected, assign 0 to the amount of the corresponding color. For example, if the checkboxes representing the colors red and blue are selected, the resulting color should be Color (255,0,255). Color the circle appropriately.There should be no button. Each checkbox should have an event handler.Be sure to provide appropriate documenation Grading Criteria (20 points) Compiles and runs (5 points) Contains three checkboxes (5 points) Contains a label with a black circle (8 points) Each individual radio button brings up a circle with the correct color (8 points) Combo colors bring up circles made up of combined colors (4 points) Documentation

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!