Let the user specify a first and then a last color by selecting from a menu
of options exactly like the menu in these
part 2 runs of our solution.
Notice the menu includes the names of the 13 constant colors of class Color.
You may borrow our two
arrays of these colors and their corresponding names:
final Color[] stockColors = { Color.BLACK, Color.BLUE, Color.CYAN,
Color.DARK_GRAY, Color.GRAY, Color.GREEN, Color.LIGHT_GRAY,
Color.MAGENTA, Color.ORANGE, Color.PINK, Color.RED, Color.WHITE,
Color.YELLOW };
final String[] stockNames = { "BLACK", "BLUE", "CYAN", "DARK_GRAY",
"GRAY", "GREEN", "LIGHT_GRAY", "MAGENTA", "ORANGE", "PINK",
"RED", "WHITE", "YELLOW" };
Remember to offer choice "14: Other" in the menu too.