What are Font and FontMetrics classes?
Answer / ranganathkini
The Font class provides mappings to fonts that are used to
render text data onto the screen. The Font class maps the
characters of the language to their respecitve glyphs.
The FontMetrics provides access to attributes of Font
objects, things such as char width, char height, ascents,
line spacing, etc, all of which help in drawing the fonts on
the screen.
| Is This Answer Correct ? | 14 Yes | 1 No |
Read data from console and print in one file. That would be in C:\temp ? Thanks, Bose
3 Answers Oracle, Surya Software,
How can we make sure main() is the last thread to finish in java program?
What are exceptions
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
What is synchronization and why is it important in java programming?
What does the “final” keyword mean in front of a variable? A method? A class?
Explain a few methods of overloading best practices in java?
What are parsing rules?
How can an object be unreferenced?
What are untrusted applets?
Is there a jre for java 11?
How do you sort an array in java?