swingx
  1. swingx
  2. SWINGX-1354

Create a Highlighter that dynamically determines foreground

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.6.3
    • Component/s: Highlighter
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      1,354

      Description

      With the inclusion of color blending, we need to add a highlighter that can
      easily determine if the proper value for the foreground should be black or
      white.

        Activity

        Hide
        Karl Schaefer added a comment -

        Issue 1354: Used computeForeground to create a highlighter that will
        autocorrect the foreground. Useful when blending the background.

        swingx-core/src/main/java/org/jdesktop/swingx/decorator/HighlighterFactory.java

        Committed revision 3833.

        Show
        Karl Schaefer added a comment - Issue 1354: Used computeForeground to create a highlighter that will autocorrect the foreground. Useful when blending the background. swingx-core/src/main/java/org/jdesktop/swingx/decorator/HighlighterFactory.java Committed revision 3833.

          People

          • Assignee:
            Karl Schaefer
            Reporter:
            Karl Schaefer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: