Instructor Manual for Introduction to Computing and ...

The easiest way to get a font object with a specific text size is to use the deriveFont method on another font object. You can get the current font that the image is using from the getFont method. To store a Font object in a variable, we first need to add an import statement to the top of the class to say where the Font object is: ................
................