https://github.com/cfries/swingnodetest
Small Project to Test SwingNode in JavaFX (illustrating a bug)
https://github.com/cfries/swingnodetest
Last synced: 8 months ago
JSON representation
Small Project to Test SwingNode in JavaFX (illustrating a bug)
- Host: GitHub
- URL: https://github.com/cfries/swingnodetest
- Owner: cfries
- Created: 2020-01-17T11:08:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-17T23:10:29.000Z (over 6 years ago)
- Last Synced: 2024-12-27T00:40:50.594Z (over 1 year ago)
- Language: Java
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# swingnodetest
This little test illustrates an issue with JavaFX Swing Node on macOS. See a corresponding [stackoverflow question](https://stackoverflow.com/questions/59788199/swingnode-shows-blank-window-on-macos-with-jdk-11-0-6-and-other-but-not-with-j).
Run the test via
```
mvn exec:java
```
- Using JDK 11.0.2 on macOS shows a window with a button "Click me!" - as expected.
- Using JDK 11.0.6 on macOS shows an empty windows - not expected.
The issue also exists on
* openjdk version "11.0.6"
- OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.6+10)
- OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.6+10, mixed mode)
* java version "13.0.2
"
- Java(TM) SE Runtime Environment (build 13.0.2+8)
- Java HotSpot(TM) 64-Bit Server VM (build 13.0.2+8, mixed mode, sharing)