Questions


September 2022 2 1 Report
Create a color combining app by using three different checkboxes, the first is labeled ‘Red’, the second is ‘Green’, and the third is ‘Blue’. Selecting and/or deselecting each color will output a different color. Display the color selected using JOptionPane.

R + G + B = WHITE
R + G = YELLOW
R + B = MAGENTA
G + B = CYAN

If there’s no checkbox selected, the color is BLACK (absence of colors)

(Take note used J checkbox)​

Answers & Comments


Add an Answer


Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Helpful Social

Copyright © 2024 EHUB.TIPS team's - All rights reserved.