On Wed, 26 May 2021 20:39:32 GMT, Jose Pereda <jper...@openjdk.org> wrote:
> 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. This pull request has now been integrated. Changeset: 0e7cf623 Author: Jose Pereda <jper...@openjdk.org> URL: https://git.openjdk.java.net/jfx/commit/0e7cf623d3cc6dc25b944ef739acaf2de27d125b Stats: 120 lines in 16 files changed: 113 ins; 0 del; 7 mod 8185447: The special high-contrast mode of JavaFX Controls in Japanese environment do not work. Reviewed-by: kcr, jvos ------------- PR: https://git.openjdk.java.net/jfx/pull/520