MainForm.Title = "applicationname" won't change the fact that it says 'JAVA' at the top in Apple menu when I run my program on a Mac. Since Title has nothing to do with the panes titlebar I wonder how to set application name in, yea you're right the topmounted fixed black Apple menu ever since 1984.
This is what it looks like when I added the code. It did not change anything it seems.
I have no idea what's being changed. I found the original Java code online.
I am sure this screenshot will help to track how to make neccessary changes.
Using Java 8 on Mac OS X 10.9, setting the System property
System.setProperty("com.apple.mrj.application.apple.menu.about.name","Name");
appears to be ineffectual in changing the name displayed in the application menu. Alternatives that still work include these:
By default, the application menu will display the simple name of the class specified in the javacommand line or the Main-Class attribute of the JAR's manifest.