java - Adding MenuBar Space on Mac -
On a PC, this issue does not arise, but I have Mac and Java menu bars usually appear on top left Gives the handheld screen of the screen for example (from the Apple Developers website):
  
 
The blue Highlight menu is the same name as the main square in the Java program. I was thinking that how can I name my main law class as a place between two words instead of an underscore?
I tried ...
-  On the command line, -Xdock: name = "My app name"using
-  System.setProperty ("com.apple.mrj.application.apple.menu.about.name", "My Mac App") ;after and after setting and look and feel within themainmethod
 only  -Xdock: name  work Done 
10.9.4 has been tested using Java 8, so settings can be different for earlier versions of Java and OS combinations
 You can get a proper Mac .app You may also consider creating bundles, which allow you to set these properties through the  plist  file ... 
Take a look This is a "little" old , But you should move in the right direction
Comments
Post a Comment