Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-3368

Application can't read standard JavaScript colors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: jalview-j2s, jvdesktop
    • Labels:
      None

      Description

      exampleFeatures.txt has a JavaScript color:

      GAMMA-TURN-CLASSIC lightgray

      that is not readable, throwing a caught exception upon file loading. I have routed the colorUtils method for getting just a few Java colors to Platform, allowing it to read the full range of JavaScript colors (no change for Java, though). See https://en.wikipedia.org/wiki/Web_colors
       

        Attachments

          Activity

            People

            Assignee:
            gmungoc Mungo Carstairs
            Reporter:
            hansonr Bob Hanson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: