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

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

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: