1. Write Java statements to draw an oval whose height is larger than its width. 2. Using the Graphics context pen, write Java statements to display the phrase “ When pigs fly” beginning at point (x,...


1. Write Java statements to draw an oval whose height is larger than its width.


2. Using the Graphics context pen, write Java statements to display the phrase “ When pigs fly” beginning at point


(x, y) in an 18-point sans serif font.


3. Write a Java statement to change the drawing color to blue.


4. What is the meaning of the arguments in the following Java statement?


Color customColor = new Color(200, 0, 25);



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here