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

Add simple Font factory method for a default font of a different size

    XMLWordPrintable

    Details

      Description

      I keep having to type this:

          text.setFont(Font.font(Font.getDefault().getFamily(), 81));

      I would prefer just:

          text.setFont(Font.font(81));

      which would use the default font.

        Attachments

          Activity

            People

            Assignee:
            fheidric Felipe Heidrich (Inactive)
            Reporter:
            rbair Richard Bair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: