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

Avoid creating native font peers for pure Swing apps

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • 7
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: