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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.2.0
    • Component/s: 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: