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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 7u6
    • Affects Version/s: 7u6
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported: