Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/micheljung/javafx-transparent-webview-patch
Allows transparent background for JavaFX's WebView. Credit goes to https://gist.github.com/riccardobl/18603f9de508b1ab6c9e
https://github.com/micheljung/javafx-transparent-webview-patch
Last synced: 10 days ago
JSON representation
Allows transparent background for JavaFX's WebView. Credit goes to https://gist.github.com/riccardobl/18603f9de508b1ab6c9e
- Host: GitHub
- URL: https://github.com/micheljung/javafx-transparent-webview-patch
- Owner: micheljung
- Created: 2018-05-01T21:03:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-08T08:40:02.000Z (over 3 years ago)
- Last Synced: 2024-12-22T18:55:26.585Z (12 days ago)
- Language: Java
- Size: 13.7 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# javafx-transparent-webview-patch
Allows transparent background for JavaFX's WebView. Credit goes to https://gist.github.com/riccardobl/18603f9de508b1ab6c9eBuild the patcher jar-file first using `.\gradlew jar`, then use the provided run configurations.
## Notes
JavaFX doesn't support WebViews with transparent backgrounds yet. See [JDK-8090547](https://bugs.openjdk.java.net/browse/JDK-8090547).
This workaround enables transparent WebView backgrounds but comes with a big performance penalty since the whole WebView is repainted,
rather than just dirty areas.On 2021-07-03, the CSR [JDK-8269848](https://bugs.openjdk.java.net/browse/JDK-8269848) was opened to officially fix this