Issue Details (XML | Word | Printable)

Key: SWINGX-1354
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Karl Schaefer
Reporter: Karl Schaefer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
swingx

Create a Highlighter that dynamically determines foreground

Created: 07/Oct/10 08:10 PM   Updated: 07/Oct/10 08:13 PM   Resolved: 07/Oct/10 08:13 PM
Component/s: Highlighter
Affects Version/s: 1.6.1
Fix Version/s: 1.6.3

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: All


Issuezilla Id: 1,354
Tags:
Participants: Karl Schaefer


 Description  « Hide

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.



Karl Schaefer added a comment - 07/Oct/10 08:13 PM

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.