This PR integrates the `Platform` functionality into `PlatformUtil`, so that we only have one place where we do OS stuff. And can delete `Platform`.
Something that was first discussed in https://github.com/openjdk/jfx/pull/1864 and I also saw when I did the cleanup some months ago in PR https://github.com/openjdk/jfx/pull/2190. --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8365309: move PlatformUtil to javafx.graphics Changes: https://git.openjdk.org/jfx/pull/2299/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2299&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8365309 Stats: 144 lines in 4 files changed: 45 ins; 77 del; 22 mod Patch: https://git.openjdk.org/jfx/pull/2299.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/2299/head:pull/2299 PR: https://git.openjdk.org/jfx/pull/2299
