-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.2.0
-
None
-
generic
-
generic
Dear Reader,
in the
http://java.sun.com/products/jdk/1.2/docs/api/deprecated-list.html I
found that
"java.awt.Toolkit.getFontMetrics(Font)" ist deprecated in JDK1.2. The
only comment is:
"This returns integer metrics for the default screen. "
I don't find this helpful at all! There is no suggestion of how to
replace this method in an existing code. That would be the information I
had expected. So I don't know what to do and I only can hope that
java.awt.Toolkit.getFontMetrics(Font) will be provided for a long time
also it is deprecated.
Best regards,
Klaus Berg
Siemens AG, Germany
in the
http://java.sun.com/products/jdk/1.2/docs/api/deprecated-list.html I
found that
"java.awt.Toolkit.getFontMetrics(Font)" ist deprecated in JDK1.2. The
only comment is:
"This returns integer metrics for the default screen. "
I don't find this helpful at all! There is no suggestion of how to
replace this method in an existing code. That would be the information I
had expected. So I don't know what to do and I only can hope that
java.awt.Toolkit.getFontMetrics(Font) will be provided for a long time
also it is deprecated.
Best regards,
Klaus Berg
Siemens AG, Germany
- duplicates
-
JDK-4230668 Document what to use instead of deprecated java.awt.Toolkit getFontMetrics()
-
- Resolved
-