How would you use the Graphics class to draw a line between the points 50,75 and 25,100? Give the Java statement needed.
Given a graphics object g, write a few lines of code to draw a blue rectangle (filled in) with its upper left corner at position 35, 35 with a width of 200 and a height of 150.
Given a graphics object g, write a few lines of code to have that graphics object draw a magenta circle (not filled in) that has a diameter of 200 pixels. What does invoking the base class paintComponent method accomplish?