You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Gavin McDonald (Jira)" <ji...@apache.org> on 2022/04/17 17:34:00 UTC

[jira] (PIVOT-985) Dark Gray and Light Gray standard colors are not supported

    [ https://issues.apache.org/jira/browse/PIVOT-985 ]


    Gavin McDonald deleted comment on PIVOT-985:
    --------------------------------------

was (Author: JIRAUSER288137):
[agario|https://agario.id/] [agario|https://agario.miami/] [agario|https://agar.cc/] [agario|https://agario.org.uk/] [agario|https://agario.boston/] [agario modded|https://agariomodded.com/] [agario private server|https://agarprivateservers.org/] [agario online|https://agarioonline.org/] [agario online|https://agarioonline.live/] [agario private server|https://agarprivateservers.net/] [altyazılı film izle|https://altyazilifilm.cc/] [mmo forum|https://mt2.org/] [metin2 pvp serverler|https://mt2.org/forum/metin2-pvp-serverler/] [pvp serverler|http://emekserverler.com/] [metin2 pvp serverler|http://www.zafer2.com/] [metin2 pvp serverler|http://editsizserverler.org/] [metin2 pvp serverler|http://www.emekserverler.net/] [metin2 pvp serverler|http://emekserverler.com/metin2.html] [wslik pvp serverler|http://wslikserverler.net/] [wslik pvp serverler|https://www.emekserverler.net/wslik.html] [agario unblocked|https://agar.rip/] [agario unblocked|https://agario.nl/] [agario|https://agar.tv/] [agario private server|https://agario.in/] [agario unblocked|https://agariohub.cc/] [io games|https://a99io.com/] [altyazılı film izle|https://altyazilifilm.live/] [okey|https://realokey.com/] [okey oyna|https://onlineokeyoynaa.com/] [okey oyna|https://duzokeyoynaa.com/] [okey oyna|https://canliokeyoynaa.com/] [sohbet|https://www.sohbetk.com/] [okey net|https://okey-net.com/] [ankara okey|https://ankaraokey.org/] [izmir okey|https://izmirokey.com/] [istanbul okey|https://istanbulokey.net/] [agario unblocked|https://agariounblocked.org/] [agario game|https://agariogame.net/] [fnf mods|https://a99io.com/category/fnf-mods.html]

> Dark Gray and Light Gray standard colors are not supported
> ----------------------------------------------------------
>
>                 Key: PIVOT-985
>                 URL: https://issues.apache.org/jira/browse/PIVOT-985
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 2.0.4
>         Environment: All
>            Reporter: Roger Lee Whitcomb
>            Assignee: Roger Lee Whitcomb
>            Priority: Minor
>             Fix For: 2.1, 2.0.5
>
>         Attachments: 985.diffs
>
>
> Looking at GraphicsUtilities.decodeColor(String) it says that any of the standard Java Color values is supported.  But, trying to use "darkgray" or "lightgray" doesn't work.
> The underlying reason is that the lookup is done using the lowercase value of the input string and trying to find the corresponding field name in the Color class.  But these two static fields are named "darkGray" and "lightGray" (mixed case) and so the lookup doesn't work.
> Need to special case these two values.  Wouldn't hurt to support the British spellings ("darkgrey" and "lightgrey") either.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)