This program is for a school assignment. Here are the requirements:
Write a Java application that effectively uses Java collections to store pairs of unique colors and their unique hexadecimal values. For example, “Red” -> “FF0000”. Store at least 8 and up to 20 of these pairs. For example, create a method like “buildColors” that returns an appropriate Java collection populated with at least 8 colors.
Then write a GUI that displays the hexadecimal values using radio buttons to select a value. When selected the background of the GUI should change to that color. The GUI should iterate over the collection to build the radio buttons dynamically; that is, you should only hard code the addition of the colors to the collection but not when building the radio buttons for the UI. That is, if the number of colors in the collection were changed from 10 to 15 in the “buildColors” method, the rest of the UI code and application would function appropriately without requiring a code change.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more