How to fix tiny fonts, buttons etc

If MEGAN launches with tiny fonts, buttons etc, then this can be fixed by adding this line to the file MEGAN.vmoptions:

-Dsun.java2d.uiScale=2