Unformatted text preview: ColorNameViwer and a class ColorNameComponent . P2.15 Write a graphics program that draws two solid squares: one in pink and one in purple. Use a standard color for one of them and a custom color for the other. Provide a class TwoSqaureViwer and a class TwoSqaureComponent . P2.15 Write a program that fills the window with a large eclipse, with a black outline and filled with your favorite color. The eclipse should touch the window boundaries, even if the window is resized....
View
Full Document
- Fall '10
- SAMAN
- graphics program
-
Click to edit the document details