COMP 274 Week 5 Homework Assignment Recent
COMP 274 Week 5 Homework Assignment NEW
Answer the following questions:
Describe the graphical coordinate system in Java. Where is the origin? What units apply to the x,y coordinates?
- How would you use the Graphics class to draw a line between 2 specific points? Give an example.
- How do you specify a particular color to be used as fill when using the Graphics class?
How would you create a SanSerif font of point size 14 that is bold and italic? Give an example.