Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4196151

Need to clarify deprecation info for java.awt.Toolkit.getFontMetrics(Font)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • client-libs
    • None
    • 2d
    • 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

            jballsunw Jennifer Ball (Inactive)
            ehawkessunw Eric Hawkes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: