APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

6.0.10 Two problems post and replies

Return to the 6.0.10 Two problems thread
Login to post to this thread

Windows workarounds...
Bill Noussis
18 Posts

Workarounds to some (appearance and locale) problems :

1. Cannot open recent files with unicode filenames: Create an environmental parameter with the name "JAVA_TOOL_OPTIONS" and set its value to: "-Dfile.encoding=UTF-8"
2. Awful icons in toolbar: In "JAVA_TOOL_OPTIONS" add "-Dsun.java2d.uiScale=1.0". Drawback: smaller characters in plot view.
3. For a more "Windows" look and feel add in "JAVA_TOOL_OPTIONS":
"-Dswing.aatext=true -Dswing.plaf.metal.controlFont="Segoe UI Normal-15" -Dswing.plaf.metal.systemFont="Segoe UI Normal-13" -Dswing.plaf.metal.userFont="Segoe UI Normal-15" -Dawt.useSystemAAFontSettings=lcd"
4. Dealing with the small numbers problem in a calibration bar (i.e. numbers smaller than 0.1 are not interpreted correctly - see other post in this thread). Add in "JAVA_TOOL_OPTIONS" the value "-Djava.locale.providers=COMPAT,CLDR,SPI".

All solutions are working with the bundled Java verion (9.0.4) and newers.


OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book