Avoid creating native font peers for pure Swing apps

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P3
    • None
    • Affects Version/s: 7
    • Component/s: client-libs
    • generic
    • generic

      Native font peer is always set on creation of java.awt.Frame and other top level windows.
      It seems to be only used by child heavyweight widgets (they copy font from parent on creation).
      Toplevel components do not use fonts themselves (title bars are handled by Windows.

      However, for pure Swing app such as Notepad or Netbeans there are no heavyweight components
      except top levels. Therefore, (at least on Windows) this extra work can be avoided.

            Assignee:
            Andrei Dmitriev (Inactive)
            Reporter:
            Igor Nekrestyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: