1. Consult the documentation for the class Font in the Java Class Library.
a. What method would you use to test whether a string can be displayed in a particular font?
b. What method would you use to see whether two Font objects are equivalent?
2. Could you replace the statement
final int EDGE_HEIGHT = COLUMN_HEIGHT + (int)(2.5 * BORDER);
with
final int EDGE_HEIGHT = (int)(COLUMN_HEIGHT + 2.5 * BORDER);
Explain.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here