Bug #4418
closed"about" box displays incorrect version number
0%
Description
When you go to "morpho > About morpho" from the computer menu bar, the version displayed is 1.0
Updated by Jing Tao about 15 years ago
I assume it happens on mac version. We didn't pay much attention about this. I will take a look.
Updated by Jing Tao over 14 years ago
This menu was added by Mac OS. We should move the morpho menu bar to the computer menu bar.
Updated by ben leinfelder over 14 years ago
We do this in Kepler - could probably make those changes to Morpho as well.
Updated by ben leinfelder almost 12 years ago
At the very least there must be someway to change the 1.0 to a more meaningful number
Updated by ben leinfelder almost 12 years ago
We can use the AppleJavaExtensions.jar and set our own About... behavior. I've been reading about this and I think we can safely do this in a cross-platform way. I think Kepler excluded the apple-extensions module during build when it was being used on a non-Mac platforms but if we include this stub jar then we won't get compilation errors. I'll commit this and we can test it on a non-Mac platform to make sure.
The only other concern I have is if Apple changes the API in subsequent Java releases (1.7?) it will mean a change for us to support differences in Java versions. They also say that this approach is deprecated and should not be used. However their link to the "new" way of doing it is broken and I can't find any hints about an alternative approach.