> This PR adds several resource bundles with High Contrast Scheme possible 
> values for several locales. 
> 
> These values have been found by installing the required language packages on 
> Windows 10 Pro 20H2 (build 19042.985), enabling Settings->High Contrast and 
> finding the high contrast scheme values in the Windows registry (and 
> translating to unicode when needed). Other locales could be generated as 
> well, but so far the list is the same as the locales supported by Controls.
> 
> With these bundles, and assuming the application uses a locale that matches 
> the system settings language, the theme name provided natively (only on 
> Windows so far) can be matched with the high contrast scheme, and the proper 
> stylesheet can be applied.
> 
> This PR has been tested on the same Windows machine, selecting each possible 
> language and setting the locale for the app accordingly.

Jose Pereda has updated the pull request incrementally with one additional 
commit since the last revision:

  Add javadoc as per reviewer request

-------------

Changes:
  - all: https://git.openjdk.java.net/jfx/pull/520/files
  - new: https://git.openjdk.java.net/jfx/pull/520/files/7027ed70..1fee0543

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jfx&pr=520&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jfx&pr=520&range=00-01

  Stats: 21 lines in 1 file changed: 21 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jfx/pull/520.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/520/head:pull/520

PR: https://git.openjdk.java.net/jfx/pull/520

Reply via email to