For the first one, I don't see a problem, but I would want to test it on different systems. With that said, we (kind of) already support that, via the JOSM Preferences -> Display
-> Zoom steps to get double scale
setting. So I don't know if we really need it.
For the second patch, I'm really not big fan. I don't know what version of Java you are using, but newer versions of Java have been cracking down on reflection, so I'd really like to avoid new (non-test) usage of reflection.
That is probably why you have the Run with --add-opens java.desktop/com.apple.eawt.event=ALL-UNNAMED
comment. Realistically, that else
statement should be checking to see if we are on mac (PlatformManager.isPlatformOsx()
).