Bug #4418

"about" box displays incorrect version number

Added by Will Tyburczy about 13 years ago. Updated over 9 years ago.

morpho - general
Target version:
Start date:
Due date:
% Done:


Estimated time:


When you go to "morpho > About morpho" from the computer menu bar, the version displayed is 1.0


#1 Updated by Jing Tao about 13 years ago

I assume it happens on mac version. We didn't pay much attention about this. I will take a look.

#2 Updated by Jing Tao over 12 years ago

This menu was added by Mac OS. We should move the morpho menu bar to the computer menu bar.

#3 Updated by ben leinfelder over 12 years ago

We do this in Kepler - could probably make those changes to Morpho as well.

#4 Updated by ben leinfelder over 9 years ago

At the very least there must be someway to change the 1.0 to a more meaningful number

#5 Updated by ben leinfelder over 9 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.

#6 Updated by ben leinfelder over 9 years ago

Compiled and ran on linux.

#7 Updated by Redmine Admin over 9 years ago

Original Bugzilla ID was 4418

Also available in: Atom PDF