This PR only reads the resource bundles for the Windows high-contrast theme when that theme is actually active. This removes the reported startup cost for almost all users.
--------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - load resource bundles lazily Changes: https://git.openjdk.org/jfx/pull/2375/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2375&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8395602 Stats: 25 lines in 1 file changed: 11 ins; 11 del; 3 mod Patch: https://git.openjdk.org/jfx/pull/2375.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/2375/head:pull/2375 PR: https://git.openjdk.org/jfx/pull/2375
