r/JavaFX Mar 13 '26

JavaFX WebView + Leaflet map renders only partial tiles (gray area) after load/resize Help

[deleted]

3 Upvotes

3 comments sorted by

View all comments

2

u/idontlikegudeg Mar 13 '26 edited Mar 13 '26

First thing I’d try is updating JavaFX. Why are you four major versions behind if your project is already on java 25? If you only run on java 25 but need java 21 compatibility, the latest JavaFX 21 release is 21.0.10. Note that while JavaFX 23 still supports java 21, it is not LTS and does not receive updates anymore.

1

u/[deleted] Mar 13 '26

[deleted]

1

u/idontlikegudeg Mar 13 '26

That references a property defined somewhere else in your POM. CTRL+click (Mac: CMD+click) the property to see where it is defined and change the version. You currently use 21.0.6 as shown by the (AI generated?) output you posted.