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

Improve Color startup by shortening the rgb calls for the predefined colors

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 7u6
    • 7u6
    • javafx

      Color creates a pile of predefined public static final color references. And these all call rgb(r, g, b) method calls. Instead have a private constructor which just assigns the values to red, green, and blue and save ourselves all the checks.

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

              Created:
              Updated:
              Resolved:
              Imported: