Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8102210

Add API to JavaFX to allow for setting preferred user agent stylesheet

XMLWordPrintable

      With the possibility of creating alternative user agent stylesheets that may ship with JavaFX, there should be well-documented API that allows a developer to specify their preferred user agent stylesheet.

      If no preferred user agent stylesheet is specified, we have two choices: always use the caspian.css stylesheet, or automatically use the latest stylesheet.

      My preference is the latter, as it prevents us falling into a Swing Metal L&F situation, and ensures applications look their best by default.

        1. rt19713.patch
          19 kB
        2. rt19713.patch
          15 kB
        3. rt19713.patch
          14 kB
        4. rt19713.patch
          14 kB

            jasper Jasper Potts (Inactive)
            jgiles Jonathan Giles
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: