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 |
How listener identify that the event came from a particular object?
Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?
Is java hard to learn?
Which class represents the socket that both the client and server use to communicate with each other?
write a progam hashmap & hashtable?
Explain naming conventions for packages?
What is "Java Native Interface" and how to use it?
What is Hierarchy of exception?
What is composition in java?
What are the types of strings?
What is the difference between state-based unit testing and interaction-based unit testing?
What are the differences between heap and stack memory?