Not sure what you mean by naming the app and 'press the name', but to react to the Preferences, About, and Quit menu selections you have to implement the appropriate interfaces - this is outlined in...
Type: Posts; User: copeg
Not sure what you mean by naming the app and 'press the name', but to react to the Preferences, About, and Quit menu selections you have to implement the appropriate interfaces - this is outlined in...
For what its worth, I wrote an article about this recently on my website. I'll reference it here as it might have some other tips in there to help you out.
Deploying a Java Application As a Native...