1. What location on a component usually has the coordinates (0, 0)? a. upper-right corner b. upper-left corner c. center d. lower-right corner 2. In a class that extends JApplet or JFrame you override...


1. What location on a component usually has the coordinates (0, 0)?


a. upper-right corner


b. upper-left corner


c. center


d. lower-right corner


2. In a class that extends JApplet or JFrame you override this method to get a reference to the Graphics object.


a. paint


b. paintComponent


c. getGraphics


d. graphics


3. In a class that extends JPanel you override this method to get a reference to the Graphics object.


a. paint


b. paintComponent


c. getGraphics


d. graphics



Dec 04, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here