Answer to Question #44552 in Java | JSP | JSF for Karin
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 up to 30 of these pairs.
Then write a GUI that displays the hexadecimal values using radio buttons to select a value, and a JLabel.
When a radio button is selected, the background of the JLabel should change to that color, and the foreground of the JLabel should change to its previous background
I am having difficulty with changing the forground color to the foreground color to the previously selected color