Pergunta

Mac OS X has built in function to show an "About" window. On my program I can see the name of my head class and "version 1.0".

Where can I change this information? I am using NetBeans and there is nothing related to this setting I can find.

Foi útil?

Solução

The place(s) to set these items is described in http://developer.apple.com/library/mac/#documentation/Java/Conceptual/Java14Development/07-NativePlatformIntegration/NativePlatformIntegration.html.

It is not difficult, but it isn't easy.

You can change the name that appears in the about dialog by editing your project's Run properties... the 'VM Options' property, specifically. You would add something like "-Xdock:name=BLAHBlahblah" to that property's text field. Your project will appear with thename BLAHBlahblah in the menubar AND the About dialog that opens when you select 'BLAHBlahblah->About BLAHBlahblah'

You can change the icon by applying the VM option -Xdock:icon, too.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top