Programm showing How we can represent Colors on a canvas using JFrame class and the GUI components(here we use the paint() component).