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

spec for Font's constructor incomplete

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.0
    • client-libs
    • 2d
    • sparc
    • solaris_2.6



      Name: atR10191 Date: 01/11/2002


      specification for the constructor of Font class
      public Font(java.lang.String name, int style, int size) states
      "Creates a new Font from the specified name, style and point size.
       Parameters:
       name - the font name. This can be a logical font name or a font face name.
       A logical name must be either: Dialog, DialogInput, Monospaced, Serif,
       SansSerif, or Symbol. If name is null, the name of the new Font is set to Default.
       style - ... ".
      specification says nothing about what if the name is not null and at the
      same time is not Dialog, DialogInput, Monospaced, Serif, SansSerif, or
      Symbol or is not font face name.
      Note that for style parameter appropriate comments are made.
      ======================================================================

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: