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):

Image Details Here Enter

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?

"post-text" itemprop = "text"> <

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 the main method

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

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -